Hi,
First of all, I've just joined this list, so here's a brief
introduction. My name's Jamie Saunders, I'm an 18 year old student from
the UK studying for my A-Levels. I'm currently working on a Computer
Studies project for a local business which involves setting up several
databases on the web. After reading Webmonkey.com's excellent introduction
to PHP I've decided to use it in conjunction with MySQL for the
project. Later this year, if all goes well I'm hoping to take a 3 years BA
Honors course in Multimedia Web Production.
Right, you still with me? What I'd like to know is how to validate a text
field in an HTML form to make sure it only contains numbers. I know how to
check it so it only contains letters, but not numbers - the field I want to
check is for phone numbers - so it can't contain any special characters
either. I expect this is very simple but I can't seem to get it working
properly. Any help appreciated.
Cheers,
Jamie Saunders
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]