Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 2000051

Re:[PHP3] $$array[] variable From: Chris Moyer (cmoyer <email protected>)
Date: 05/04/00

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>