This is my first website so please be kind.
My form in my index.php has method="post" action="mailer.php"
in my mailer.php I have the following code which I had hoped would take care of single and double quotes which may be entered into the message textarea
$message = $_POST;
$message = str_replace(array("\r\n","\r","\n")," ",$message);
$message = stripslashes($message);
Back in my index.php I echo $_POST but when it echos the message it has slashes in the message area e.g. don't becomes don\'t. How do I get rid of those?