Re: Re: Can someone tell me why this is not working?

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

 



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.Johnson@xxxxxxxxxxx> wrote in message 
news:OF24965909.4ACBEAF3-ON872575D9.00598A62-872575D9.0059E595@xxxxxxxxxxxxxx
>>  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


[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