multichild
Programmer
I am completely new to PHP and so starting right at the beginning.
I am putting together a form, and have it working no worries, but I wont to include more details in the feedback form that goes to the website owner.
The code im using is below:
<?
$name = $_REQUEST['name'];
$telephone = $_REQUEST['telephone'];
$email = $_REQUEST['email'];
$message = $_REQUEST['message'];
mail("info@hobbsvalve.co.uk", "Message from website",
$message, "From: $email");
header ("Location: ?>
very simple as you can see, but I wont to add $name, $telephone to the email with $message.
Can anybody help me
Lee
I am putting together a form, and have it working no worries, but I wont to include more details in the feedback form that goes to the website owner.
The code im using is below:
<?
$name = $_REQUEST['name'];
$telephone = $_REQUEST['telephone'];
$email = $_REQUEST['email'];
$message = $_REQUEST['message'];
mail("info@hobbsvalve.co.uk", "Message from website",
$message, "From: $email");
header ("Location: ?>
very simple as you can see, but I wont to add $name, $telephone to the email with $message.
Can anybody help me
Lee