Re: isset question

From: Date: Thu, 18 Jun 2009 19:31:22 +0000
Subject: Re: isset question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-294286@lists.php.net to get a copy of this message
I notice that you're checking $_POST['mort'] but you're echoing $mort, is that your actual code? On 6/18/09, Gary <gwpaul@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 > >

« previous php.general (#294286) next »