Re: Validating user input
| From: | Manuel Lemos | Date: | Tue, 03 Jun 2003 14:05:21 +0000 |
| Subject: | Re: Validating user input | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-149967@lists.php.net to get a copy of this message | ||
Hello,
On 06/03/2003 06:21 AM, Shaun wrote:
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?You may want to try this forms generation and validation class that can either validate you form values in the client site with generated Javascript or using the class itself on the server side: http://www.phpclasses.org/formsgeneration -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/