Pete Winter
asked on
php / html encode
I am using a php mail script to post and email form contents to an email.
However when I receive the email the £ symbol is not displaying correctly.
I am getting "£" not "£".
Below is the code:
HTML Form value:
PHP:
I have even tried this
However I still get the same result. What am I doing wrong?
However when I receive the email the £ symbol is not displaying correctly.
I am getting "£" not "£".
Below is the code:
HTML Form value:
<input name="C9480A_Desc" type="hidden" id="C9480A_Desc" value="C9480A - HP 91 775ml 3 ink Matt Black @ £365.00" />
PHP:
$_POST['C9480A_Desc']
I have even tried this
htmlentities ($_POST['C9480A_Desc'])
However I still get the same result. What am I doing wrong?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Many thanks
ASKER
Open in new window