On Tuesday 17 December 2002 01:43, 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[6];
>
> nothing comes up ($r is blank). Any thoughts? There
> are missing elements (4,5,7-12) in $monthschedule.

Use print_r($monthschedule) to see what's really inside the array.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
I bought some used paint. It was in the shape of a house.
                -- Steven Wright
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to