Works fine for me.... It prints a "1", just like it is supposed to.
Are you looking for some other behavior???
Brent
mail@redhotsw
eeps.com To: [EMAIL PROTECTED]
cc:
08/02/01 Subject: If Statement won't work
11:22 AM
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]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]