Marvinoo_ Marvinoo_ - 2 months ago 11
MySQL Question

Edited text to database

I have a question about sending big documents to the database. When i insert my edited word doc with colors on some words into tinyMCE the text display properly. But sending to the database fails because of commas in the text i guess. Is there a simple way to fix this?

Answer
 $yourtext = $conn->real_escape_string($yourtext); //$conn is the mysql connection

if this succeed then it was a escaping problem

Comments