I just use this query to update `post_content` But the problem is it does n't get updated Another thing is that format of `post_content` is LONG TEXT Some say there is a bug with LONG TEXT character update Is there any other way to update `post_content`
What is the contents of $file? Is this HTML (I'm assuming so)? Are you sure there isn't a problem with single quotes in contractions (e.g. won't) breaking the query?