Storing html in a variable - how?

From: Date: Sat, 22 Jul 2000 11:52:44 +0000
Subject: Storing html in a variable - how?
Groups: php.general 
Request: Send a blank email to php-general+get-7667@lists.php.net to get a copy of this message
I want to send an html formated email using the mail command. I already understand you're supposed to tag the format type as html in the mail command. However, I don't know how to store an html page in a variable. This code doesn't work: $body="<td width="26%" height="286" valign="top" bgcolor="#99CC00"> <p><font face="Verdana, Arial, Helvetica, sans-serif"><b><font size="2">Name<br> Position<br> Company<br> Phone<br> Email<br> Source<br> Country<br> Type of project<br> Notes</font></b></font></p> </td>" Ideally I would like to just cut and paste the html for the email from Dreamweaver and slap some quotation marks around it, but I'm sure its not that easy - damn! What should I do? Thanks, Jon

« previous php.general (#7667) next »