I just want to email a dynamic page ( So I designed a page consisting of datas pulled from db and are formated with html tags: here in below code $d is such variable to be mailed)
But the problem is that, instead the code contained in $d is sent.
The code is as such:
$ebody="<html>$d</html>";
mail("[EMAIL PROTECTED]", "The subject",$ebody,"From: [EMAIL PROTECTED]\r\n");
Cna anyone give me solution for this pretty simple problem.
Regards
Usha

