Re: Restrict characters

From: Date: Tue, 29 Apr 2003 22:26:17 +0000
Subject: Re: Restrict characters
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-145707@lists.php.net to get a copy of this message
sounds good and thanks for replying but I dont need the characters stripped...just a warning to be show and the form should not submit... Cheers, -Ryan http://mrSahaf.com > *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 > > > > > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#145707) next »