Reply to Re: Simple Variable Syntax Question.

Your name:

Reply:


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/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация