I am new to coding in PHP.
I am having trouble figuring out the syntax I need to get my
html based email.
I have a page where the user enters the values.
I have a review page.
After they see what it looks like, they hit send.
I am able to send html based email.
The problem is that I when I set my message variable to html, I have to use the single quote. If the user typed in any single quotes, it will break. Do I use addslashes??
Here is my message text.
$message =
'<html>
<head>
<body>
<table width = "800">
<tr>
<td colspan="2">
<center><img src = "http://www.nutricise.com/images/nutri_logo.gif"></center>
</td>
</tr>
<tr>
<td><P>
Free Consultation for '.$firstname.'
<p>Created exclusively for you by '.$counselor.'
</html>
';