Im am using this script http://www.quackit.com/html/codes/html_form_to_email.cfm
It works good as default.
but i have added a few extra variables likes :
/*
This next bit loads the form field data into variables.
If you add a form field, you will need to add it here.
*/
$namn = $_REQUEST['namn'] ;
$telefonnummer = $_REQUEST['telefonnummer'] ;
$email_address = $_REQUEST['email_address'] ;
$comments = $_REQUEST['comments'] ;
My problem is I cant manage to get them show up in the email that gets sent.
I have tried include them like this:
mail( "$webmaster_email", "Feedback Form Results",
$namn, $email, $telefonnummer, $comments, "From: $email_address" );
and this:
mail( "$webmaster_email", "Feedback Form Results",
$comments, "From: $email_address" );
$email, ;)
$telefonnummer, :)
its not working out, Do you have any idea what i do wrong ?