htmlspecialchars for email content
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.
$body="Hi \n<br><br>".htmlspecialchars($name). " had sent you enquiry . ". " \n<br><br>
Person Enquiry = ". htmlspecialchars($enquiry) . " \n<br><br> ";
i receive enquiry content as
how can i use htmlspecialchars in the way it doesnt echoes \r\n\r\
yo man\r\n\r\ntesting new site\r\n\r\nstay tuned\r\n\r\nvineet