What you have to do, at least I think, is you have to type:
$r = $monthschedule["Jun"];
That is what I think you have to do. The other way you did it was when you
have a value-only array.
On Mon, 16 Dec 2002, Mako Shark wrote:
> 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;
> 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.
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php