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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to