Posted by Schraalhans Keukenmeester on 05/12/07 14:36
At Sat, 12 May 2007 06:28:04 -0700, wbrowse let his monkeys type:
> Wy in Php 01 is greater than 1 ?
It's not, not even when comparing these as strings.
echo (01 > 1) ? 'bigger' : 'equal or smaller';
// outputs: equal or smaller
echo ('01' > '1') ? 'bigger' : 'equal or smaller';
// outputs: equal or smaller
Show the code you used to get the result you did if you want more help...
HTH
Sh.
[Back to original message]
|