Reply to Re: PHP error help

Your name:

Reply:


Posted by mike on 12/07/05 18:12

"Peter van Schie" <vanschie.peter@gmail.com> wrote in message
news:4396ae20$0$11062$e4fe514c@news.xs4all.nl...
> mike wrote:
>
>> thanks, so the above code you posted will do the same as this?
>>
>> if (isset($var)) {
>> $var="";
>> }
>>
>> if ($var == "value") {
>> do something
>> }
>
> Hi Mike,
>
> No I just showed you how to use the $_GET superglobal instead of just
> $var.
> When the setting register_globals=Off then $var won't be available,
> $_GET['var'] however will be.

I've used $_GET[var] now but it noes gives an undefined_index error!

[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

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