日期:2014-05-17 浏览次数:20507 次
$mailbody=<<<mailbody
<table width='100%' border='1' cellspacing='0' cellpadding='0'>
<tr> <td>Product NO. </td> <td>"$_POST['productnumber']"</td> </tr>
<tr> <td>Name</td> <td>"$_POST['username']"</td> </tr>
<tr> <td>Promotion code </td> <td>"$_POST['promotion']"</td> </tr>
<tr> <td>Mobilephone</td> <td>"$_POST['mobilephone']"</td> </tr>
<tr> <td>Age</td> <td>"$_POST['age']"</td> </tr>
<tr> <td>Sex</td> <td>"$_POST['sex']"</td> </tr>
<tr> <td>Address</td> <td>}"$_POST['address']"</td> </tr>
<tr> <td>Prescription Type </td> <td>"$_POST['prescription']"</td> </tr>
<tr> <td>Single PD </td> <td>"$singlepd"</td> </tr>
<tr> <td>Right PD </td> <td>"$rightpd"</td> </tr>
<tr> <td>Left PD </td> <td>"$leftpd"</td> </tr>
<tr> <td>Right OD SPH </td> <td>"$_POST['odsph']"</td> </tr>
<tr> <td>Left OS SPH </td> <td>"$_POST['ossph']"</td> </tr>
<tr> <td>OD CYL </td> <td>"$_POST['odcyl']"</td> </tr>
<tr> <td>OS CYL </td> <td>"$_POST['oscyl']"</td> </tr>
<tr> <td>OD AXIS </td> <td>"$_POST['odaxis']"</td> </tr>
<tr> <td>OS AXIS </td> <td>"$_POST['oxaxis']"</td> </tr>
</table>
mailbody;
echo mailbody;