Re: Restrict characters
| From: | Rolf Brusletto | Date: | Tue, 29 Apr 2003 23:18:42 +0000 |
| Subject: | Re: Restrict characters | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-145706@lists.php.net to get a copy of this message | ||
*This message was transferred with a trial version of CommuniGate(tm) Pro*
Ryan - I have a tiny function for that.... strips all charachters that are not numerals.
http://www.phpexamples.net/codeExSnippet-39.html
Rolf Brusletto
PHP / MySQL Coder
http://www.phpexamples.net
Ryan A wrote:
*This message was transferred with a trial version of CommuniGate(tm) Pro* Hi, Is there any way to make sure that only numbers are entered into the html text field? I want to take the phone number of the client but I dont want the client to put in anything buy numbers... any php function or something? Cheers, -Ryan