Yes... I echo the code onto the page as well as sending out the message. The echo is sort of a "thank you" page, this is what you submitted. A message, which is not going into a DB, is also emailed to the submitter and cleint.
Gary "Waynn Lue" <waynn...@gmail.com> wrote in message news:d29bea5e0906181231r165c5844wecd7d34026621...@mail.gmail.com... >I notice that you're checking $_POST['mort'] but you're echoing $mort, > is that your actual code? > > On 6/18/09, Gary <gwp...@ptd.net> wrote: >> 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 >> >> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php