Problem with Arrays
Posted: Wed Jul 02, 2003 11:02 am
Hi
I declare an array like this
then when I try to access it klike this
nothing is returned from any of these statements. Can anyone help me please????
Thanks
I declare an array like this
Code: Select all
$week_day_array = array(1 => "every Monday",2 => "every Tuesday",3 => "every Wednesday",4 => "every Thursday",5 => "every Friday",6 => "every Saturday",7 => "every Sunday");Code: Select all
echo $week_day_arrayї1];
echo $week_day_arrayї2];
print_r(array_values ($week_day_array));Thanks