<form name="enquiry" action="eq.php" method="POST">
<table width="50%" border="0" cellpadding="12" cellspacing="0">
<tr>
<td><span class="contact_text">Name</span></td>
<td><input type="text" name="first_name" class="enquiry_width" /></td>
</tr>
<tr>
<td><span class="contact_text">E - Mail</span></td>
<td><input type="text" name="email" class="enquiry_width"/></td>
</tr>
<tr>
<td><span class="contact_text">Mobile</span></td>
<td><input type="text" name="contactno" class="enquiry_width"/></td>
</tr>
<tr>
<td><span class="contact_text">Address</span></td>
<td><input type="text" name="address" class="enquiry_width"/></td>
</tr>
<tr>
<td><span class="contact_text">Feed Back</span></td>
<td><input type="text" name="feedback" class="enquiry_width"/></td>
</tr>
<tr>
<td><span class="contact_text">Message</span></td>
<td><textarea name="comments" cols="21" rows="5" class="enquiry_width" style="height:50px;"></textarea></td>
</tr>
</table>
<table width="0" border="0" cellspacing="0" cellpadding="0" style="margin:10px 0 0 185px;">
<tr>
<td><input type="submit" value="Submit" onclick="return validations()" class="sumbit" /></td>
<td><input type="reset" value="Reset" /></td>
該代碼完美工作,但在提交表單時顯示錯誤代碼。 eq.php文件沒有執行。相反,它顯示了這個錯誤。 「HTTP錯誤405 - 用於訪問此頁面的HTTP動詞不被允許。」爲什麼?HTTP錯誤405 - 用於訪問此頁面的HTTP動詞不被允許。爲什麼?