By any chance are you using Activestate? I have no explanation, but I have
run across two or three times when everything should have worked, the
variable evalueated to what it should have been, but the if refused to
return true and execute. those three times I have been able to delete the
line and re-type it and make it work.
Like I said, I have no explanation as to why, but yes I have run into times
when the if just refused to work. I just happen to use activestate which is
why I asked the first question. I'd like to see if there is some common
denominator between what we have seen in this.
Steve H.
>From: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: If Statement won't work
>Date: Thu, 2 Aug 2001 11:22:25 -0500
>
>Can anyone tell me why my if statement refuses to work? It is really
>simple. I can't understand it.
>
>$winner = 1;
>if($winner == 1){
>print "$winner\n";
>}
>
>No matter what I try, it never returns true. Not even 1 == 1.
>
>Any ideas?
>
>Chris
>--
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]