Convert escaped characters PHP : <p>I know this is a simple question, but having a hard time finding a simple solution.</p>

<p>I have a form on my PHP site that takes in the user message, then sends an email to my client with the message. I want the message sent to my client to be easily readable, without escaped characters \r , \n , \" , etc.</p>

<p>For example, the message is currently coming into the email as:</p>

<pre><code>test\'s\r\nnew line \r\n\"quote\"
</code></pre>

<p>What I want it to come in as:</p>

<pre><code>test's
new line 
"quote"
</code></pre>

<p><strong>Current code is:</strong></p>

<pre><code>if(isset($_POST['submit']) &amp;&amp; !empty($_POST['email'])){
    //Process form
    $name = $_POST['name'];
    $name = mysql_prep($name);
    $email = $_POST['email'];
    $email = mysql_prep($email);
    $message = $_POST['message'];
    $message = mysql_prep($message);

    $emailto = "client_email1@gmail.com,client_email2@gmail.com";
    $subject = "Message from '$name'";
    // the message
    $message = "&lt;html&gt;&lt;body&gt;
                &lt;h3&gt;Title&lt;/h3&gt;
                From: $name&lt;br&gt;
                Email: $email&lt;br&gt;&lt;br&gt;
                Message:&lt;br&gt;
                $message&lt;br&gt;&lt;br&gt;

                &lt;/body&gt;&lt;/html&gt;";
    //headers make the mail() work
    $headers = 'MIME-Version: 1.0' . "\r\n";
    $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";

    mail($emailto, $subject, $message, $headers);
</code></pre>
