foreach ($array as $fLevel) {
foreach ($fLevel as $sLevel) {
echo $sLevel['name'];
}
}
while($row = mysql_fetch_row($sql))
{
if($row["id"] == '1' or $row["id"] == '2' or $row["id"] == '3' or $row["id"] == '4') {
$row[0] = $S_1;
}
$pdf->Row(array($row[0],$row[1],$row[2],$row[3],$row[4],$row[5]));
}
Only variables should be passed by reference
SELECT DATE(`date`), count(`id`) FROM `test` WHERE `date` BETWEEN '2011-12-01 00:00:00' AND '2011-12-02 23:59:59' GROUP BY DAY(`date`)