Jump to content

[SOLVED] £ signs


Adam W

Recommended Posts

I use a textarea to capture input text for an e-mail.

 

When ever a user enters a £ sign the e-mail generated contains the HTML code £ which is correct for a web page but how do I convert this to a £ for inclusion in a plain text e-mail, I thought html_entity_decode() would provide the correct functionality but it does not seem to when used like this

$body = $_POST[Message];
$body = html_entity_decode($body);

Thanks for any help

Link to comment
https://forums.phpfreaks.com/topic/53006-solved-%C2%A3-signs/
Share on other sites

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.