Here's how you can fill a multi-dimensional array:
$days = array(); //Declare $days
to be an array
while ($row = mysql_fetch_assoc($result)) //set variable $row to be an
associative array containing a row of results from your mysql query
Hi Everyone,
RE: Individual Array Entries
I am using a mini calendar script which uses the following array to enter
event dates.
$days = array(
3=array(/weblog/archive/2004/Jan/03,linked-day),
8=array(/weblog/archive/2004/Jan/08,linked-day),
I am using a mini calendar script which uses the following array to enter
event dates.
$days = array(
3=array(/weblog/archive/2004/Jan/03,linked-day),
8=array(/weblog/archive/2004/Jan/08,linked-day),
22=array(/weblog/archive/2004/Jan/22,linked-day)
);
// 3, 8 22 = the day
//