SyntaxFix
Write A Post
Hire A Developer
Questions
I had the same problem. It might differ depending on how You put the data to the db, but try what worked for me:
$str = json_encode($data); $str = addslashes($str);
Do this before saving data to db.