View Single Post
Old 05-01-2008, 08:39 PM   #13 (permalink)
freenity
The Acquainted
 
freenity's Avatar
 
Join Date: Feb 2008
Posts: 119
Thanks: 17
freenity is on a distinguished road
Default

Quote:
Originally Posted by wGEric View Post
Since it is an integer, cast it as one. Don't try to use it as a string.
PHP Code:
$id intval("99999 OR id > 0"); 
Problem solved.
nice :D

Also can be:
PHP Code:
$id = (int)$id
__________________
http://feudal-times.net - My PBB Game
http://gwphp.feudal-times.net - My Blog "Gaming With PHP"
freenity is offline  
Reply With Quote