Or, You can use this:
http://www.php.net/manual/en/function.is-numeric.php - E "John W. Holmes" <[EMAIL PROTECTED]> wrote: > > > Then make sure $id is a number. You can use is_int, or (int), or > > whatever. > > > > It appears that any numeric values passed via the URL (..?param=10001) > are > > automatically treated as strings. If I pass ?param=1001 to the > following > > script... > > So turn it into an integer. > ...[snip]... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php