I need to put a number of texts into my MySQL database via a manual query. The texts contain quotes, newlines, comment dashes (‘–‘) and probably other syntax errors. Is there an online tool where I can paste in raw text and convert it to the query-escaped version?
Share
Google gives me
http://www.freeformatter.com/string-escaper.html
and
http://www.freeformatter.com/sql-escape.html
Is this sufficient for you?