Re: [PHP] Creating a varable with a name held in a string
Posted by Randy Johnson on 02/11/05 06:26
I will read over extract and change my ways ;-)
Randy
John Holmes wrote:
> Randy Johnson wrote:
>
>> I like to do this:
>>
>> foreach( $row as $key=>$val) {
>>
>> $$key = $row[$key];
>> }
>
>
> You're just recreating a slower version of extract()...
>