Hey Jason! I got it working thanks to a print SQL command. But could you give me an example on how to use htmlspecialchars() in my case? What would this line become? $appearance = str_replace("'",""",$appearance) Best regards Cato http://www.oia.f2s.com -- 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]