Menu

#9 find.php3 displays only 10 users

open
nobody
5
2005-02-10
2005-02-10
Andrew
No

here small diff that fixes problem:

# diff -r find.php3 find.php3.orig
12c12
< if (!is_numeric($max_results))
---
> if (!is_int($max_results))

To test if a variable is a number or a numeric string
(such as form input, which is always a
string), you must use is_numeric(). (c)
http://ru3.php.net/is_int

Discussion


Log in to post a comment.

MongoDB Logo MongoDB