I am new to php and at the very beginning stages….I am doing a feeback form for a friend :
HERE IS THE HTML CODE
<html>
<head>
<title>ciscos feedbackform</title>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″>
</head>
<body bgcolor=”#FFFFFF” text=”#000000″>
<form method=”post” action=”sendmail.php”>
Name: <input name=”name” type=”text” /><br />
<br />
Age: <input name=”age” type=”text” /><br />
<br />
sex: <input name=”sex” type=”text” /><br />
<br />
Email: <input name=”email” type=”text” /><br />
<br />
<input type=”submit” />
<input type=”reset” name=”reset” value=”Reset”>
</form>
</body>
</html>
AND HERE IS THE PHP PROGRAM I WROTE
<?
$name = $_REQUEST[‘name’] ;
$age = $
$sex = $_REQUEST[‘sex’] ;
$email = $
mail ( “
header( “Location: [url]http://www.ciscoscoffeeroasters.com.au/thankyou.htm
?>
when i get the results sent to me in my email it comes to my email like this:
name,age,sex,email
Is there away of having the results sent to my email with question’s that was asked and the answers instead of just the answers like above e.g
name = tane
age = 31
location = australia
email = [email][email protected]