in reply to Changing a number to a string
it'll be a number.if ($var == 0 )
If you use a string compare:
then it'll be a string.if ($var eq "0")
This actually took me quite a long time to get the hang of, sadly.
____________________
Jeremy
I didn't believe in evil until I dated it.
|
|---|