MySQL Forums
Forum List  »  PHP

Re: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to****
Posted by: Rick James
Date: December 10, 2013 08:49AM

And you may find that $lastname is
O'Henry

Guess what happens with the apostrophe inside of apostrophes.

Options: ReplyQuote




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.