MySQL Forums
Forum List  »  PHP

problem with Guest book Comment form
Posted by: Christian OKPADA
Date: September 13, 2007 07:44AM

Hi!
I've just started using PHP. In the guest book for my current project the comment textarea does not accept quotation marks (be it double or single).

Whenever I place a comment with quotation marks included in the text I get this error mesg:
"You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'm comg',1,1,'article')' at line 1"

So waz the way? Can anyone advise? Would appreciate

Options: ReplyQuote


Subject
Written By
Posted
problem with Guest book Comment form
September 13, 2007 07:44AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.