I have a forum, when a person posts a message the message is also sent in the notification email:

$message = stripslashes($message);

        $send_body = "$message";

sendmail($rowmember['emailAddress'], $send_subject, $send_body);

however the email still looks like this:

test 3<br /><br />test 3 with quotes &quot; and &quot;

what can I do to get fid of the annoying tags? somebody told me : " use str_replace() and replace &quot; to quote sign, and <br> into \n"

how can I apply this to my mesage? I have no clue about str_replace and also was rather confused when I look up in the manual. I also don't know how to combine it with stripslashes, anybody that can modify my script a bit? thanks.

    What format are you trying to send the email in? I know if you are including HTML tags and don't specify that you are sending and HTML email, it will display the tags like this. You might also try htmlspecialchars(). This will strip out any HTML code and just display text.

      actually it should be NOT html, just simple email.

      when I use htmlspecialcharcs I get this:

      test 2&amp;amp;lt;br /&amp;amp;gt;&amp;amp;lt;br /&amp;amp;gt;test 2 with &amp;amp;amp;quot;quotes&amp;amp;amp;quot;

        Write a Reply...