I have one problem with save $p on database.If I save $_POST[“content”] unmodified it works.
But if I modify with stripslashes it is not work.I do not understand the reason.
$_POST["content"] is text from function innerHTML
mysql_connect("XX","XX","XX");
mysql_select_db("XX");
$p=stripslashes($_POST["content"]);
mysql_query("UPDATE TEXTO SET VALOR='.$p.' WHERE id=2");
You wouldn’t want to strip slashes before updating a database, you’d actually want to do the opposite. I would recommend