DENIS CARON - 2014-09-06 08:17:51 -
In reply to message 1 from Chris Beech
Hi,
You cannot do like that.
If your Queries returns only one row, run like this:
$row1 = $db->QuerySingleRow($sql1);
$row2 = $db->QuerySingleRow($sql2);
If your Queries returns multiple rows, you must use results before next queries... And don't forget to test if queries return TRUE !
$result1 = $db->Query($sql1);
if($result1) while($row1 = $db->Row()
{
echo "Something";
}
$result2 = $db->Query($sql2);
if($result2) while($row2 = $db->Row()
{
echo "Something";
}