|
Posted by Geoff Berrow on 01/12/07 00:56
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]
|