Re: NEWBIE



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.

While books are great, I'd recommend also reviewing the subjects using
the on-line docs at http://php.net for detailed syntax and semantics.

http://us2.php.net/manual/en/language.types.array.php


There you would find examples of accessing arrays in various ways.





Brian


.



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)
  • 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
    ... > Lorenzo wrote: ... >> I want to directly access the the individual values in an array by using ... >> their 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)