OK, so I've added some _Post to the email tag. I figured out how to adjust the $message variable to add variables (hey, I don't know anything about php so that made me happy I got that).
So here's the question, I have an html form that uses these fields that insert a record into the mysql databse. How do I utilize that _post array to set those fields in the form into the array so that I can pull them out in the php script to email? I would like to pull the information entered in the form into the email message.
Here's the email message so far:
<?php
$to = "email@mydomain.com";
$subject = "New Form has been submitted";
$extra = "From: Test System";
$POST['test'] = 'post string;
$var1 = $POST['test'];
$var2 = "var 2 string";
$mess = "A form has been submitted.\n"."Variable is as follows ".$var1." and ".$var2.$message;
mail($to, $subject, $mess, $extra);
?>">
So that part is pretty straight forward and simple, but I'm just not sure how to grab the data from the form to put it in the array.