Marvinoo_ Marvinoo_ - 1 year ago 107
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 Source
 $yourtext = $conn->real_escape_string($yourtext); //$conn is the mysql connection

if this succeed then it was a escaping problem

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download