# PHP in HTML mailer...?

**URL:** <https://forum.kirupa.com/t/php-in-html-mailer/223273>\
**Category:** programming\
**Created:** [April 20, 2007, 6:51pm UTC](https://forum.kirupa.com/t/php-in-html-mailer/223273 "2007-04-20T18:51:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![woodman650](https://avatars.discourse-cdn.com/v4/letter/w/b9bd4f/32.png) [@woodman650](https://forum.kirupa.com/u/woodman650)\
**Post date:** [April 20, 2007, 6:51pm UTC](https://forum.kirupa.com/t/php-in-html-mailer/223273/1 "2007-04-20T18:51:21Z")

</div>

Hey all,  
I’ve got a form mailer I’m working on but I hit a snag and I’m not sure what to do. Basically, I am sending out the mailer formatted with html… in order to do this, I’m sending:

$mailer = ‘\<html\>blahblahblah $variablevalue\</html\>’;

The html renders out fine in the mail, but the $variablevalue isn’t filled… it just appears as is. “$variablevalue”.

Any ideas how to get this to actually fill when I send the email? thanks
