Sorry clarification required to my previous answer...
I sort of answered you in a hurry, and I made another assumption that I
didn't define.
I wanted to clarify that I'm assuming the array is setup as follows
arr[day]=>report.
arr[1]=>45
arr[2]=>56
arr[4]=>78
etc...
$y = 31;
for($x=0; $x < $
>From what I gathered you simply want to print all days and the "reporte"
field info and if there isn't any then 0.
Assuming you used SQL and retrieved your information from the db into an
associated Array
$arr //the results from the DB...
$y = 31; //Assuming you are working with 31 days...
2 matches
Mail list logo