Forum Moderators: coopster
Having trouble parsing this..... anyone see anything wrong with it? Should I dump the "srtip_tags"
Latest PHP latest MySql.... sending with SMTP.... but all that works.... the body def doesn't
// message body
$body = '
<html>
<head>
<title>New Web Request</title>
</head>
<body>
<table width="100%" border="0" cellspacing="2" cellpadding="2">
<tr>
<td width="14%" rowspan="3"><a href="http://www.#*$!#*$!#*$!#*$!#*$!X.com/#*$!#*$!#*$!#*$!#*$!X_XX"><img src="http://www.#*$!#*$!#*$!#*$!#*$!X.com/Media/Email/Contracts/#*$!XX/WebRequests/images/#*$!#*$!#*$!X.png" width="117" height="65" /></a></td>
<td width="58%" rowspan="3"> </td>
<td width="28%"><strong>Start Date: ' . strip_tags($_POST['start_date'] . '</strong></td>
</tr>
<tr>
<td><strong>Due Date:</strong> ' . strip_tags($_POST['due_date'] . '</td>
</tr>
<tr>
<td><strong></strong></td>
</tr>
</table>
<br />
<hr />
<div align="center"> **#*$!#*$!XX SYSTEM GENERATE MESSAGE - DO NOT REPLY ** </div>
<hr />
<p><strong>Web Request Form was submitted by: </strong><br>
<strong>Name</strong>: ' . strip_tags($_POST['Name']) . '<br>
<strong>Email</strong>: ' . strip_tags($_POST['Email']) . ' <br>
<strong>Phone: </strong> ' . strip_tags($_POST['Phone']) . ' <br><br>
<strong>Requested Start Date:</strong> ' . strip_tags($_POST['start_date']) . ' <br>
<strong>Requested Due Date:</strong> ' . strip_tags($_POST['due_date']) . ' <br><br>
<strong>Name of Request:</strong><br> ' . strip_tags($_POST['title']) . ' <br><br>
<strong>Description:</strong><br> ' . strip_tags($_POST['text']) . ' <br><br>
<br>
<strong>Fulfillment :</strong> ' . $field_41_opts . ' </p>
<hr />
<div align="center">
Powered by <a href="http://www.#*$!#*$!#*$!#*$!#*$!X.com">#*$!#*$!#*$!#*$!#*$!X © 2010</a><br />
Login to <a href="http://www.#*$!#*$!#*$!#*$!#*$!X.com/#*$!X_PM/">#*$!#*$!_PM</a><br />
Portions © <a href="http://www.#*$!#*$!#*$!#*$!#*$!X.com">#*$!#*$!#*$!#*$!#*$!X International, LLC </a> </div>
<hr />
</body>
</html>';