php3-list | 2000051
Date: 05/04/00
- Next message: Zak Greant: "Re: [PHP3] $$array[] variable"
- Previous message: Todd Wesslen: "[PHP3] $$array[] variable"
- Maybe in reply to: Todd Wesslen: "[PHP3] $$array[] variable"
- Next in thread: Zak Greant: "Re: [PHP3] $$array[] variable"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
If I remember correctly, you need to do...
${$variablename}[$index]
to prevent confusion with ${$variablename[$index]}
Chris Moyer -- cmoyer <email protected>
On Thu, 04 May 2000 11:29:12 -0700 Todd Wesslen <toddwesslen <email protected>> wrote:
>
>I have a variable that I am accessing using $$variablename. The
>variable is actually an array. I can't seem to access the elements with
>the syntax $$variablename[$index]. Is there any way to do this? Any
>help would be appreciated.
>
>Todd Wesslen
>toddwesslen <email protected>
-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Zak Greant: "Re: [PHP3] $$array[] variable"
- Previous message: Todd Wesslen: "[PHP3] $$array[] variable"
- Maybe in reply to: Todd Wesslen: "[PHP3] $$array[] variable"
- Next in thread: Zak Greant: "Re: [PHP3] $$array[] variable"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

