Ok, I dont really know how it got working, but it is.  I did try the test, 
and after that it worked, however I had tried one before....

But thank you all for your time and help.

Gary


<kirk.john...@zootweb.com> wrote in message 
news:of24965909.4acbeaf3-on872575d9.00598a62-872575d9.0059e...@zootweb.com...
>> [PHP] Re: Can someone tell me why this is not working?
>>
>> > The center echo does not show.  It will show if I replace $newmort
> with
>> > anything else.  I have copied the first "if" statement,pasted it in
> the
>> > second position, and it works fine.  Once I change the var to
> $newmort, it
>> > will not show. The third echo shows fine, it is only if I use newmort.
> I
>> > have renamed the var from mort1, because I was getting the same thing.
>> >
>> > $newmort=STRIPSLASHES($_POST['newmort']);
>> > $purchprice=STRIPSLASHES($_POST['purchprice']);
>> > $howlong=STRIPSLASHES($_POST['howlong']);
>> >
>> > if ($purchprice)  {
>> > echo "Purchase Price:$ $purchprice<br />";
>> > }
>> > if ($newmort)  {
>> > echo "Mortgage Amount:$ $newmort<br />";
>> > }
>> > if ($howlong) {
>> > echo "How Long has seller owned property: $howlong<br /><br />";
>
> Echo out the value of $newmort just above the "if" statement. If it is
> zero or blank, the "if" will evaluate to false.
>
> Is there a second form field named "newmort" lower on the page? If so, it
> will be the value of $_POST['newmort'] that you receive in the post.
>
> Kirk 



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

Reply via email to