$row = $db->querySingle('SELECT * FROM data WHERE Id=60 ',true);
$num = 60;
$row = $db->querySingle('SELECT * FROM data WHERE Id=$num ',true);
'<текст запроса>' . $num .';'
$row = $db->querySingle('SELECT * FROM data WHERE Id='.$num.';', ',true);
$a = "var";
echo 'sample - $a';
>> sample - $a
echo "sample - $a";
>> sample - var