All,
So I have form that posts to this and I use this:
$title = mysql_real_escape_string($_POST['title']);
When this goes into the database however, it has a slash in front of the apostrophe. So if I type this:
This doesn't work
It goes into the database like this:
This doesn\'t work.
How can I get it to add the apostrophe without adding a slash?
Thanks.