I have the following mail php script, and would like to add 2 new variables “company” and “name”
what would be the best way to add these 2 variable so that they appear in the body of the sent email?
Thanks
JB
<?php
$email = $_REQUEST['email'] ;
$message = $_REQUEST['message'] ;
mail( "x.com", "Feedback Form Results",
$message, "From: $email" );
header( "Location: http://www.xxx.com/thankyou.html" );
?>
Is it so really hard to just concatenate a couple variables?
This isn’t rocket science. It’s barebones bedrock PHP.