Hi there
Can any one tell me what is wrong with this form. I only sim to recive the person name and email address and the message they have type in but nothing else in the form shows up.
This is what I am putting into the web site page.
<form method="post" action="advertise.php">
<table border="0" cellpadding="8" cellspacing="8" summary="advertise form">
<input type="text" name="name" size="25" ><br />
<br>
<input type="text" name="email" size="25" ><br />
<br>
<input type="text" name="message/a" size="25" ><br />
<br>
<input type="text" name="message/b" size="25" ><br />
<br>
<input type="text" name="message/c" size="25" ><br />
<td align="center" colspan="2">
<input type="submit" value="Submit Form" />
</form>
This is the php code I am using.
<?
$name = $_REQUEST['name'] ;
$email = $_REQUEST['email'] ;
$message = $_REQUEST['message/a'] ;
$message = $_REQUEST['message/b'] ;
$message = $_REQUEST['message/c'] ;
mail( "[email protected]", "advertise form",
"$name $message/a $message/b $message/c", "From: $name <$email>" );
header( "Location:http://www.book-scotland-direct.com/advertisecomfirmed.html" );
?>
Thanks for looking
Justin
Can any one tell me what is wrong with this form. I only sim to recive the person name and email address and the message they have type in but nothing else in the form shows up.
This is what I am putting into the web site page.
<form method="post" action="advertise.php">
<table border="0" cellpadding="8" cellspacing="8" summary="advertise form">
<input type="text" name="name" size="25" ><br />
<br>
<input type="text" name="email" size="25" ><br />
<br>
<input type="text" name="message/a" size="25" ><br />
<br>
<input type="text" name="message/b" size="25" ><br />
<br>
<input type="text" name="message/c" size="25" ><br />
<td align="center" colspan="2">
<input type="submit" value="Submit Form" />
</form>
This is the php code I am using.
<?
$name = $_REQUEST['name'] ;
$email = $_REQUEST['email'] ;
$message = $_REQUEST['message/a'] ;
$message = $_REQUEST['message/b'] ;
$message = $_REQUEST['message/c'] ;
mail( "[email protected]", "advertise form",
"$name $message/a $message/b $message/c", "From: $name <$email>" );
header( "Location:http://www.book-scotland-direct.com/advertisecomfirmed.html" );
?>
Thanks for looking
Justin








