I have put in the line:
@mail("firstname.lastname@example.org", "subject", "Body text", "$xxx", "$xxx");
in the _dml.php right after the "sql("insert into..." statement to get an email every time someone creates a new entry.
"$xxx" represents the fields in the database. This works fine, except for one field which is my Primary Key field (named id_nbr) which is also an Auto Increment field.
If i just put it in as "$id_nbr", nothing appears in the email.
Can anyone tell me if there is a special way to get this field emailed too...???