Posts: 32
Location: Rochester, NY USA
|
All you need to do is escape the quotes (put a \ in front of them) like so:
Code:
$body = $body . "<a href=\"http://www.abcd.net/page.htm\">Click Here!</a>";
Any time you need to put quotes in the HTML code using PHP, just escape the quotes and you're good to go.
__________________
Always take into account what nobody would ever do in a million years, because someone will.
|