Hey,

echo $the_variable_you_are_pr_ing[$key]

example: echo $aNonsenceLetters[0]; // outputs: jkl

Cheers,
Faifas


On Thu, Apr 30, 2009 at 00:47, Dave Maharaj :: WidePixels.com <
[email protected]> wrote:

>
> How can i get the value of a key?
>
> the array is from debug($requests);
> for example my array is:
>
> Array
> (
>    [0] => jkl
>    [1] => ii
>    [2] => yyy
> )
> thanks,
>
> Dave
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to