Here is my code in the database:
<html>
<body>
<p><? echo $SESSION['first_name']; ?>-<br><br>
Here are your login codes for . Please go to <a href="#">www.site.com</a> to log in to your account.<br><br>
<table width="150">
<tr><td width="75"><strong>Account #:</strong></td><td><font color="#336699"><? echo $SESSION['accountid']; ?></font></td></tr>
<tr><td width="75"><strong>Username:</strong></td><td><font color="#336699"><? echo $SESSION['username']; ?></font></td></tr>
<tr><td width="75"><strong>Password:</strong></td><td><font color="#336699"><? echo $SESSION['password']; ?></font></td></tr>
</table>
<br>If you have any questions, please email us at <a href="mailto:#">email</a>.<br><br>
Thank you,<br><br>
Matt</p>
</body>
</html>
I want to pull it out of the database, parse the variables where they go, and then insert this into an email to be sent to the person.