For example: I want to allow a-z ,A-Z, 0-9 and some others and strip out
everything else.
You probably just want to use a regular expression. Check out
http://www.php.net/ereg
HTH!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have a form with a "text area" that when submited, get stored in a "text" type field
of a MySQL database. Occasionaly some of our users copy data from a DOS program and
paste it in the text area which results in unwanted characters getting stored in the
text field. What function can I use to s
2 matches
Mail list logo