Re: NEWBIE
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: NEWBIE

From: chotiwallah <chotiwallah@web.de>
Date: Wed Jul 20 2005 - 08:21:14 CEST

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
Received on Mon Oct 17 21:11:56 2005