["Selvin Sakal" <[EMAIL PROTECTED]>]
> Hi,
> i have a mysql database, can anyone tell me any characters that cannot
> be entered into mysql (like !@#$%, etc).
>
> Also i have a string and i would like to remove html tags, characters
> (like ~!@#$%^&*()_+|`-=\{}[]:"<>?;',./ ) out of it, so basically i
> want the string to be just left with words.
Try the manual:
http://php.net/manual/en/function.addslashes.php (for mysql)
http://php.net/manual/en/function.strip-tags.php
- Stig
--
Stig Sæther Bakken <[EMAIL PROTECTED]>
Fast Search & Transfer ASA, Trondheim, Norway
--
PHP Database 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]