A
Anonymous
Guest
Good day,
why my chinese word didn't display correctly in my email.
This is my code
is that something wrong with my code
zai
why my chinese word didn't display correctly in my email.
This is my code
Code:
$to = $email;
$header .= "From: Admin ";
$header .= 'Content-Type: text/html; charset=UTF-8' ."\n";
$subject ="Your Quotation";
$contents ="This is your references number and password , use this references number and password to check back your quotation
References No : $ruj
Password : $password
$text
Grand Total : RM $grandtotal
-----------------------------------------------------
Thank You
Regards,
Admin";
if($contents != "")
{
//send mail - $subject & $contents come from surfer input
mail($to, $subject, $contents, $header);
// redirect back to url visitor came from
// header("Location: $HTTP_REFERER");
}
header("location:sendmail.php?randomid=$randomid");
?>
is that something wrong with my code
zai