isset question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a form that gives the submitter a choice or either one set of 
questions, or another. I am still getting the message even if the input was 
left blank.  So on the line below,

$msg.=  isset($_POST['mort']) ? "The mortgage amount is  $mort\n" : " ";

I get

The mortgage amount is

What am I missing here?

Thanks

Gary 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux