Posted by Jerry Stuckle on 02/07/07 18:12
speralta@progressivetrail.org wrote:
> Hi,
>
> The following is the output of a print_r on an array. The value of
> element[0] is itself an array. How do I access the elements in the
> second array?
>
> Array ( [0] => Array ( [Vancouver] => Vancouver [Eugene] => Eugene
> [Beaverton] => Beaverton ) )
>
> I've tried to set $c[] = $city[0], but this just outputs the same
> result.
>
> Thanks,
>
> Sal
>
$myarray[0]['Vancouver']
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|