You are here: HTML in PHP Variable « PHP Programming Language « IT news, forums, messages
HTML in PHP Variable

Posted by KDawg44 on 09/25/07 17:20

Hi,

I am trying to load some HTML Code in a variable and send that in an
email. Something like this:

$emailMessage = "<p align = center class='referralTitle'>New
Referral<br><br><table border = 0 cellpadding = 2 cellspacing = 2
width = '75%' class='referralText'><tr><td align = left>Referrer's
Personal Information</td></tr><tr><td>Referrer First Name: </td><td
align = right valign = top>" . $myFName . "</td></tr>";

However, whenever I echo this to the browser or send the email, I get
4 dd$ and that is it....

I am little confused...

thanks for any help.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация