MySQL Forums
Forum List  »  Newbie

Re: How to execute a query containing ''
Posted by: Peter Brawley
Date: May 15, 2015 05:32PM

> What do you mean by 'escapethem with backslash chars.'?

escape them means insert \ before each

> another solution

Sure, Write a PHP script that sucks up the text, passes it through mysqli_real_escape_string(), then inserts it.

Options: ReplyQuote


Subject
Written By
Posted
Re: How to execute a query containing ''
May 15, 2015 05:32PM


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.