thank you it works now. i guess my "warranty" on my eyes is over.
i tried a little twist with the code and it doesn't work here's what i did:
Code:
<?php
$meals = array("breakfast" => 'oatmeal',"lunch" => 'hot dogs',"dinner" => 'hamburgers');
print_r($meals);
?>
<?php
echo $meals['1'];
?>
this echo tag doesn't return anything. OHHH maybe i have to delete the closing php tag and opening for the second command.no just tried it and that didn't work. but if i put in breakfast the script returns a value "oatmeal" can't one use the key [1] etc. to return a value?
thanks for your help.