PHP is probably escaping the single quotes for you: it's -> it\'s
When addslashes() is applied to this, both the backslash character and the single quote are escaped: \ -> \\ ' -> \' The result is what you see: it\'s -> it\\\'s If you strip slashes twice, you'll be back to normal. Chris >>When I use addslashes to add a back slash to a single quote, it returns 3 >>back slashes (example: 'it\\\'s'. Is that correct? Am I doing something >>wrong? >> >> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php