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

2009-06-18 Thread Gary
I was about to do something really stupid. I had gotten it to work (even a blind squirell gets a nut every now and again), and had copied the code to send to you to look at.and then realized it was working so you would be chasing ghosts. Thank you for your help. Gary "Daniel Brown" wr

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

2009-06-18 Thread Gary
HP] 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 f

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

2009-06-18 Thread Gary
Thanks, but that is not it, have already slashed the $, but the others without the \ still work. "Gabriel Sosa" wrote in message news:c4316a8f-3ee4-43d0-9b30-c4b447428...@gmail.com... > on this line > >> echo "Mortgage Amount:$ $newmort"; > > the echo is trying to evaluate the string... > > in

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

2009-06-18 Thread Daniel Brown
On Thu, Jun 18, 2009 at 12:22, Gary wrote: > Thanks...Now I get NULL > > I have another set of these if($) echo, and the all work, it is just this > one that refuses to give it up. Gary, if you can, send the link to the live development copy on which you're working. Even if it's just a tempor

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

2009-06-18 Thread Gary
Thanks...Now I get NULL I have another set of these if($) echo, and the all work, it is just this one that refuses to give it up. "Martin Scotta" wrote in message news:6445d94e0906180915o392d1500hd906b23dbf5c4...@mail.gmail.com... > if ($newmort) { > echo "Mortgage Amount:$ $newmort"; > } >

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

2009-06-18 Thread Gabriel Sosa
on this line echo "Mortgage Amount:$ $newmort"; the echo is trying to evaluate the string... in your case you should escape the $ sign... like this \$ echo "Mortgage Amount:\$ $newmort"; regards On Jun 18, 2009, at 1:15 PM, Martin Scotta wrote: if ($newmort) { echo "Mortgage Amount:

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

2009-06-18 Thread Kirk . Johnson
> [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

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

2009-06-18 Thread Martin Scotta
if ($newmort) { echo "Mortgage Amount:$ $newmort"; } check $newmort value var_dump( $newmort ); if ($newmort) { echo "Mortgage Amount:$ $newmort"; } you "if" fails is $newmort is there but empty On Thu, Jun 18, 2009 at 1:11 PM, Gary wrote: > Everything is exaclty the same, but this one wil

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

2009-06-18 Thread Gary
Everything is exaclty the same, but this one will not work. I have retyped them, copied from those working, changed the name, changed the input name...If I change the var to $zip, it works. Any other suggestions? Thanks again. ""Gary"" wrote in message news:89.71.08167.d8d5a...@pb1.pair.com.

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

2009-06-18 Thread Bastien Koert
On Thu, Jun 18, 2009 at 11:44 AM, Gary wrote: > Nope, I added slashes to all of the $, still no go. > > Thank you for your help. > > Gary > > > "Shawn McKenzie" wrote in message > news:53.c2.08167.5206a...@pb1.pair.com... >> Gary wrote: >>> The center echo does not show.  It will show if I replace

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

2009-06-18 Thread Gary
Nope, I added slashes to all of the $, still no go. Thank you for your help. Gary "Shawn McKenzie" wrote in message news:53.c2.08167.5206a...@pb1.pair.com... > Gary wrote: >> The center echo does not show. It will show if I replace $newmort with >> anything else. I have copied the first "if

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

2009-06-18 Thread Shawn McKenzie
Gary wrote: > 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