Re: numerics
| From: | Kevin Stone | Date: | Mon, 10 Feb 2003 18:42:47 +0000 |
| Subject: | Re: numerics | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-135104@lists.php.net to get a copy of this message | ||
I'm sorry I misunderstood. As previously stated PHP is server-side only,
you need a client-side solution. Search for Javascript validate numeric.
- Kevin
----- Original Message -----
From: "Kevin Stone" <kevin@helpelf.com>
To: "Edward Peloke" <epeloke@echoman.com>; <php-general@lists.php.net>
Sent: Monday, February 10, 2003 11:38 AM
Subject: Re: [PHP] numerics
> Check out: is_numeric()
> http://www.php.net/manual/en/function.is-numeric.php
>
> -Kevin
>
> ----- Original Message -----
> From: "Edward Peloke" <epeloke@echoman.com>
> To: <php-general@lists.php.net>
> Sent: Monday, February 10, 2003 11:27 AM
> Subject: [PHP] numerics
>
>
> > IS there a way to only allow the user to type in numerics to a text
field?
> > I do not want to allow them to even type in anything unless it is a
> number.
> > Basically, I don't want to allow them to enter hi and then I do checks
and
> > give them a warning that it isn't a number, I want to force it from the
> > start.
> >
> > Thanks,
> > Eddie
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>