Array
| From: | Mako Shark | Date: | Mon, 16 Dec 2002 17:43:04 +0000 |
| Subject: | Array | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-128436@lists.php.net to get a copy of this message | ||
I have an array I set up like this:
$monthschedule = array(1 => "Jan", 2 => "Feb", 3 =>
"Mar", 6 => "Jun");
When I try to access them, doing this:
$r = $monthschedule[6];
nothing comes up ($r is blank). Any thoughts? There
are missing elements (4,5,7-12) in $monthschedule.
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com