You are here: Re: changing a array to normal variables « All PHP « IT news, forums, messages
Re: changing a array to normal variables

Posted by Martie on 05/05/06 19:48

On 4 May 2006 17:27:27 -0700, NC wrote...
>
>windandwaves wrote:
>>
>> If I have an array (e.g. $myarray["username"],
>> $myarray["email"],ect.... ) how can I access the variables just like
>> $username, $email, etc...
>
>extract($myarray);
>
>For more information, see http://www.php.net/extract
>
>Cheers,
>NC
>

Neat function, thanks for the tip.


--
NewsGuy.Com 30Gb $9.95 Carry Forward and On Demand Bandwidth

 

Navigation:

[Reply to this 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

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