05-01-2008, 08:39 PM
|
#13 (permalink)
|
|
The Acquainted
Join Date: Feb 2008
Posts: 119
Thanks: 17
|
Quote:
Originally Posted by wGEric
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;
|
|
|
|