Hi Anyone - I have made up a post action form to a php file called "sendmail2.php" in the root directory of stigma.org.uk, but it won't send the $book or $review fields to email. Can you help?
Thanks, John.
Here is the php file located at: http://www.stigma.org.uk/sendmail2.php
<?
mail( "ideas@stigma.org.uk", "Review Form Results",
"From: $name", "Book: $book", "Review: $review" );
header( "Location: http://www.stigma.org.uk/thankyou.htm" );
?>
Here is the form code from the page: http://www.stigma.org.uk/further_reading.htm
<form method="POST" action="sendmail2.php">
<p><font face="Comic Sans MS" color="#800080"><a name="Right-A-Review">Right-A-Review</a></font><br>
Your Name:<br>
<input type="text" name="name" size="26"><br>
Book/Brochure:<br>
<select size="1" name="book">
<option selected>Choose a book</option>
<option>How To... Assert Yourself</option>
<option>Information For Detained Patients</option>
<option>Give Us A Break</option>
<option>How To Recognise The Early Signs Of Mental Distress</option>
<option>Who Is Normal?</option>
<option>See Me, I'm a person not a label</option>
<option>point 7</option>
<option>Rights amp; Risks</option>
<option>Surviving Work</option>
<option>Talking About... Stress</option>
<option>With Health in Mind</option>
<option>Mental Health And Well Being</option></select><br>
Review:<br>
<textarea rows="2" name="review" cols="42"></textarea></p>
<p><input type="submit" value="Submit" name="Submit"></p>
</form>