Re: Forms and PHP variables
| From: | Jason Wong | Date: | Sun, 22 Dec 2002 08:16:24 +0000 |
| Subject: | Re: Forms and PHP variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-129106@lists.php.net to get a copy of this message | ||
On Sunday 22 December 2002 10:29, Beauford.2002 wrote:
> Hi,
>
> First off, thanks to all those that helped out with my other questions. Not
> all my problems were solved, but I'm certainly closer. Still working on the
> same project I need to do the following.
>
> I have a form where users input numbers only, is there a way I can have php
> check to make sure a letter or other character didn't get put in by
> accident. I was looking at ereg, but not to familiar with this or if it
> would work in this case.
Try this:
http://www.phpclasses.org/browse.html/package/914.html
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
So this is what it feels like to be potato salad
*/