Re: numeric characters
| From: | Dominique ANOKRE | Date: | Wed, 03 Mar 2004 09:13:31 +0000 |
| Subject: | Re: numeric characters | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-179332@lists.php.net to get a copy of this message | ||
ok thanks, i have written a script with javascript and i think it's running
good !
Thanks
----- Original Message -----
From: "Daniel Clark" <dclark@nwlink.com>
To: "Php List" <php-general@lists.php.net>
Sent: Tuesday, March 02, 2004 7:15 PM
Subject: Re: [PHP] numeric characters
> Or you can us client side JavaScripting.
>
> > Hello Dominique,
> >
> > Tuesday, March 2, 2004, 6:31:00 PM, you wrote:
> >
> > DA> Is there a way with php to force the user to put only numeric
> > character in a text field ?
> >
> > No, because that's a client-side thing. You can however use the PHP
> > function is_numeric() to check the data once it has been entered to
> > ensure they are numbers and error out if not.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>