Re: NEWBIE



In article <1121840474.936816.208840@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
"chotiwallah" <chotiwallah@xxxxxx> wrote:

> Lorenzo wrote:
> > I want to directly access the the individual values in an array by using
> > their keys. Can this be done in PHP? The O'Reilly book I have
> > "Programming PHP" does not show how to do this. IT shows ways of
> > iterating through the array and processing keys, grabbing key/value
> > pairs, but I see a map-like function that will allow direct access.
> >
> > --
> > "My Break-Dancing days are over, but there's always the Funky Chicken"
> > --The Full Monty
>
> $array_name['key'] for assoc, $array_name[number] for numerical
>

Of course, this makes sense. I should have figured this out myelf.
Thanks
.



Relevant Pages

  • Re: NEWBIE
    ... > I want to directly access the the individual values in an array by using ... > their keys. ... Can this be done in PHP? ...
    (comp.lang.php)
  • Re: NEWBIE
    ... >> I want to directly access the the individual values in an array by using ... > Hi Lorenzo, ... > Erwin Moller ...
    (comp.lang.php)
  • NEWBIE
    ... I want to directly access the the individual values in an array by using ... "Programming PHP" does not show how to do this. ... iterating through the array and processing keys, ...
    (comp.lang.php)
  • Re: NEWBIE
    ... > I want to directly access the the individual values in an array by using ... > their keys. ... Can this be done in PHP? ...
    (comp.lang.php)
  • Re: NEWBIE
    ... >I want to directly access the the individual values in an array by using ... >their keys. ... Can this be done in PHP? ...
    (comp.lang.php)