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
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
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
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
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";
> }
>
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:
> [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
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
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.
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
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
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
12 matches
Mail list logo