RE: [PHP-DB] validate/sanitize data

2004-11-17 Thread Todd Trent
> http://us2.php.net/mysql_escape_string > http://us2.php.net/htmlentities thanks guys, great help. — Todd Trent VP Hogfish Design 2550 26th Street West Bradenton, FL 34205 Tel: 941-749-0144

Re: [PHP-DB] validate/sanitize data

2004-11-17 Thread John Holmes
Todd Trent wrote: I need to add textarea input into a mysql database. The input can be anything you would find in normal paragraph text - [:alnum:][:punct:][:space:]. In this case it is likely that the input could also include special accent characters (grave, acute, tilde, etc. - ex. é). Is addsla

RE: [PHP-DB] validate/sanitize data

2004-11-17 Thread Bastien Koert
see htmlentities function in the manual http://ca3.php.net/manual/en/function.htmlentities.php bastien From: "Todd Trent" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: [PHP-DB] validate/sanitize data Date: Wed, 17 Nov 2004 15:06:55 -0500 I need to add textarea input

[PHP-DB] validate/sanitize data

2004-11-17 Thread Todd Trent
I need to add textarea input into a mysql database. The input can be anything you would find in normal paragraph text - [:alnum:][:punct:][:space:]. In this case it is likely that the input could also include special accent characters (grave, acute, tilde, etc. - ex. é). Is addslashes enough to red