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]
|