Re: NEWBIE
- From: Erwin Moller <since_humans_read_this_I_am_spammed_too_much@xxxxxxxxxxxxxxxx>
- Date: Wed, 20 Jul 2005 10:53:17 +0200
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.
>
Hi Lorenzo,
Something like this?
$test["tralala"] = " PHP ";
$test["Lorenzo"] = "Hee man, ";
$test["testing"] = "rocks!";
echo $test["Lorenzo"].$test["tralala"].$test["testing"];
Regards,
Erwin Moller
PS: This is just a very simple example.
Check out the all array-manipulations at www.php.net. It is overwhelming.
.
- Follow-Ups:
- Re: NEWBIE
- From: Lorenzo Thurman
- Re: NEWBIE
- References:
- NEWBIE
- From: Lorenzo
- NEWBIE
- Prev by Date: Re: What is quicker as Select?
- Next by Date: Re: A question about efficiency
- Previous by thread: Re: NEWBIE
- Next by thread: Re: NEWBIE
- Index(es):
Relevant Pages
|