Actually, MonkeyIsland's method works, since I sanitize the integer first, check my post!
Nice link Statik, I could not find that solution, my googleing skills suck seemingly.
I'm gonna go with that, just to keep consistency at the maximum.
Isn't it strange that PHP automatically type casts int 0 to FALSE?
Get a life
LOL
No offense, Ray. Was just a funny answer after all that code stuff.
Non taken, was indeed funny.