Re: [PHP] Variable variables into an array.
[email protected] (Richard Quadling)
| Newsgroups | php.general |
|---|---|
| Message-ID | <[email protected]> |
On 11 August 2010 13:58, Bob McConnell <[email protected]> wrote: > From: Richard Quadling > >> Quick set of eyes needed to see what I've done wrong... >> >> The following is a reduced example ... >> >> <?php >> $Set = array(); >> $Entry = 'Set[1]'; > ^^^^^^ > Shouldn't that be $Set[1]? > >> $Value = 'Assigned'; >> $$Entry = $Value; >> print_r($Set); >> ?> > > Bob McConnell > No.