Thread
:
detect number
View Single Post
#
4
12-24-2006, 09:46 PM
Tolnaftate2004
penguin.
Join Date: Jul 2004
Location: Berkeley, CA
Posts: 534
That's really weird...
Anywho:
PHP Code:
if (
float
(var) != -
1
|| var ==
"-1"
)
I guess when comparing a string to a floating point/integer, it's treated as -1... :/
__________________
◕‿‿◕
·
pfa
·
check yer syntax!
·
src
Killa Be:
when i got that locker in 6th grade the only thing in it was a picture of a midget useing a firehose :/
Tolnaftate2004
View Public Profile
View GraalOnline Profile
Find all posts by Tolnaftate2004