RE: [PHP] Validating user input
| From: | electroteque | Date: | Tue, 03 Jun 2003 09:32:54 +0000 |
| Subject: | RE: [PHP] Validating user input | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-149902@lists.php.net to get a copy of this message | ||
is_numeric and strlen ?
-----Original Message-----
From: Shaun [mailto:shaun@mania.plus.com]
Sent: Tuesday, June 03, 2003 7:21 PM
To: php-general@lists.php.net
Subject: [PHP] Validating user input
Hi,
I am creating a timesheet application, how can I make sure that a user has
entered a number, and that the number is a whole number or a decimal up to 2
places, and that the number is less than 24?
Thanks for your help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php