Jump to content

Unescaping A Text String In mail() Function


sintax63

Recommended Posts

I have a simple contact form that I wrote which works fine:

 

mail($recipient, $subject, $body, $header);

 

However the text that gets passed to the $body variable needs to be unescaped because "you'll" turns into "you\'ll". What is the proper way to accomplish something like this?

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.