Wade Halsey wrote:
> 
> Hi
> 
> Ive got a textarea control on a form where a user will enter info, i want to enter 
>this info into an interbase db,ive limited the space to 200 characters in the text 
>area but need to now eliminate any apostrophes and other bad characters, anyone have 
>a function?
> 
> TIA
> 
> Wade


Try:

ereg_replace(); 
(http://www.php.net/manual/en/function.eregi-replace.php)
or
preg_replace(); 
(http://www.php.net/manual/en/function.preg-replace.php)
-- 

* R&zE:

***************************
**  Renze Munnik
**
**  E: [EMAIL PROTECTED]
**  M: +31 6 218 111 43
***************************

-- 
PHP General 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]

Reply via email to