|
Posted by denis on 01/12/07 02:11
Yep, I saw it as well and hoped someone would correct.
Thanks.
"Geoff Berrow" <blthecat@ckdog.co.uk> wrote in message
news:n4ndq210ae5ssfogfd85m7lhuf9ju42p2q@4ax.com...
> Message-ID: <45a6ae8b$1@news.bihnet.ba> from denis contained the
> following:
>
>>There is a shorter way I think. If we assume those are POST variables, the
>>code might look something like
>>
>>foreach ($_POST as $name => $value)
>> $name = $value;
>
> Nearly.
>
> foreach ($_POST as $name => $value){
> $$name = $value;
> }
>
> --
> Geoff Berrow (put thecat out to email)
> It's only Usenet, no one dies.
> My opinions, not the committee's, mine.
> Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Navigation:
[Reply to this message]
|