Does the following shows some example??
PHP Code:
//store this static html and get it from the same
$html = "<table>
<tr><td> </td><td> </td><td> </td></tr>
<tr><td> </td><td>[CHANGING_TEXT]</td><td> </td></tr>
<tr><td> </td><td> </td><td> </td></tr>
</table>";
//Lets supppose you have your changing text here.
$changingtext = "Something goes here...";
$toemail = $_POST['useremailid']; //user's email id
$subject = "subject goes here";
$headers = "some header information";
$hody = str_replace($changingtext, $html, $html);
# then send it to the email
@mail($toemail, $subject, $body, $headers);
The spikez's idea also the great if you can follow it. Before submitting the form you can get some element's innerHTML and store it in some form element. Then post and you can get it with $_POST as other usual text values and send it to the mail.
Does this make sense??
Bookmarks