Formating PHP result to look like an Html Page


#1

Hi Guys… am a newbie in php. Am a having problem Displayign my php form result to look like like an HTML page. The content of the form is to be received in an email. Am having problem displaying it to look like a formatted HTML type instead of the normal plain text. Please any idea…?


#2

If you are using in-built PHP mail system, add this to your header

$headers .= ‘MIME-Version: 1.0’ . "\r
";
$headers .= ‘Content-type: text/html; charset=iso-8859-1’ . "\r
";

You can change ur charset if you wish.


#3

Thanks Tayo, it really works got some articles that say that also…


#4

great answer