You are here: Re: [PHP] problems with self referential sticky forms « PHP « IT news, forums, messages
Re: [PHP] problems with self referential sticky forms

Posted by Mikey on 07/20/05 01:24

Linda H wrote:

>
>> Where is fahrenheit? change the input name...
>
>
> fahreheit is here:
>
> <?
> $fahr = $_GET['fahrenheit'];
> if (is_null($fahr)){ echo 'fahr is null';}
> $>
>
> The error was on the line: $fahr = $_GET['fahrenheit'];
>
> Linda
>
Have you checked that the name is spelt correctly in your HTML form?

I (and this is jus a preference) do:

$var = (isset ($_GET['var'])) ? $_GET['var'] : null;

HTH,

Mikey

 

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

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