Hiya,
I have a mysql table called i_results and a field in that table called date.
I need to get every row from the field date so say i have 20 rows, i need to put 20 dates into the array. Each date shud also have a value of 1.
$datearray = array (
'2003-1-12' => 1,
'2003-2-12' => 1,
'2003-2-13' => 1,
'2003-2-14' => 1,
'2003-2-15' => 1,
'2003-3-18' => 1,
'2003-3-7' => 1
);
Has to be in that format above .
Any ideas how to do this wud be mucho appreciated.