Posted by Garry Jones on 10/06/06 23:12
Gary Hasler" <garyhasler@thelogconnection.com> skrev i meddelandet
news:45256F6B.DE571CC4@thelogconnection.com...
> I agree. Or else (this is a long shot) maybe you accidentally used a
> numeral one "1" (instead of lower case L) in the variable name in the if
> statement, being undefined it's somehow equating to zero?
Thanks to all.
Jeff hit the nail on the head....
The select control returns a string value so you should change your
code to:
if($dtctxsz1 == "0"){
Amazing what a pair of quotation marks can do.
Garry Jones
Sweden
[Back to original message]
|