hi all
I have this below code for textarea in which person enters his enquiry
after person enters enquiry the email is sent with the enquiry entered.PHP Code:$body="Hi \n<br><br>".htmlspecialchars($name). " had sent you enquiry . ". " \n<br><br>
Person Enquiry = ". htmlspecialchars($enquiry) . " \n<br><br> ";
mail($to,$body);
i receive enquiry content as
how can i use htmlspecialchars in the way it doesnt echoes \r\n\r\Code:yo man\r\n\r\ntesting new site\r\n\r\nstay tuned\r\n\r\nvineet
vineet



Reply With Quote
Bookmarks