Ok, having serious problems. Am sending data via a form to be submitted to a database (TEXT field). For some reason the query won't work due to the chars being sent. I have tried about everything and am about to give up.
I have magic_quotes_gpc on to handle the data sent from the form and then I convert it as so so that I can add it into a query.
$text=mysql_escape_string(htmlspecialchars(stripslashes($text)));
Where am I going wrong?