RE: [PHP] Validating user input

From: Date: Tue, 03 Jun 2003 20:41:47 +0000
Subject: RE: [PHP] Validating user input
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-150068@lists.php.net to get a copy of this message
On Tue, 2003-06-03 at 02:46, Sichta Daniel wrote: > Another way is to do it on client side (javascript) > > DS Indeed, but then you have to be prepared for it not to work if the user doesn't have js enabled. Torben > -----Original Message----- > From: Shaun [mailto:shaun@mania.plus.com] > Sent: Tuesday, June 03, 2003 11:21 AM > 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 -- Torben Wilson <torben@php.net> +1.604.709.0506 http://www.thebuttlesschaps.com http://www.inflatableeye.com http://www.hybrid17.com http://www.themainonmain.com -----==== Boycott Starbucks! http://www.haidabuckscafe.com ====-----

« previous php.general (#150068) next »