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:[EMAIL PROTECTED]
> Sent: Tuesday, June 03, 2003 11:21 AM
> To: [EMAIL PROTECTED]
> 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 <[EMAIL PROTECTED]>                        +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 ====-----




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to