You are here: Re: variable « PHP Programming Language « IT news, forums, messages
Re: variable

Posted by Gandalf on 09/15/07 08:44

On Sep 15, 10:32 am, Gandalf <goldn...@gmail.com> wrote:
> I don't understand why this expression doesn't work:
>
> $var= '$_POST';
>
> $name= ${$var}[name];
>
> the ${$var}[name] expression wont return the same expression of
> $_POST[name].
> why does it happens, and how can i solve it?
>
> thanks

i meant to write $var ='_POST',
and the that ${$var}[name] wont return the same value as $_POST[name]

 

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

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