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/
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php