Hi this is my firs time with php and i am working through a book by larry ullman "php and mysql for dynamic web sites"
i have writen from the book a simple form in html code below
<!--SCRIPT 2.1 Form html-->
<form action"handle_from.php"method="post">
<fieldset><legend>Enter you information in the form below:</legend>
<p><b>Name:</b><input type="text" name="name" size="20" maxlength="40" /></p>
<p><b>email address:</b><input type="text" name="email" size="40" maxlength="60" /></p>
<p><b>gender:</b><input type="radio" name="gender" value="M"/> Male <input type="radio" name="gender" value="f"/> female</p>
<p><b>age:</b><select name="age"><option value="0-30">Under 30</option>
<option value="30-60">between 30 and 60</option>
<option value="60+">over 60</option></select>
<p><b>comments:</b><textarea name="comments" rows="3" cols="50"></textarea></p>
</fieldset>
<filedset><legend>second form:</legend>
<p><b>hight:</b><input type "text" name-"hight" size="50" maxlength-"90" /></p>
</fieldset>
<div align="center"><input type="submit" name="submit" value="submit information"/></div>
<form/><!--end of form-->
if i save it as a php file when i press submit all seems ok as a html file when i press submit i get a error message Method Not Allowed
The requested method POST is not allowed for the URL /DIVERSATY WEB SIE/form.html.Method Not Allowed
i have a second php script that is ment to desplay the results from this form but is does not,
<?php
#script 2.2 hanlde form feedback
echo "<p>thank you, <b>$name</b>for the following comments:<br /><tt>$comments</tt><p>will reply to you at<i>$email</i>.<p>";
?>
i cant see a link between the form and the php script can any one see the problem
thanks
kev