RE: [PHP] A good function
| From: | Dan Joseph | Date: | Thu, 29 May 2003 13:56:52 +0000 |
| Subject: | RE: [PHP] A good function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-149399@lists.php.net to get a copy of this message | ||
Hi,
Have a look at: http://us2.php.net/manual/en/function.ereg-replace.php
That might do what you want.
-Dan Joseph
> What is a good function for striping white space and removing
> \\..\.. and possible "," Anything that would be considered
> unwanted user input???
>
> I looked at trim() but its doesnt do all the things I need it to do.