首先感谢您的回答。我真的,真的不知道我的网站形式发生了什么。 我们从事计算机维修而不是编程,所以我非常困惑为什么这不起作用。 编码可在www.thewrightcorner.com/contactus.html找到。
我不明白为什么当我把它贴在这里时我看不到它。
我不明白任何一个,所以请帮忙!
<form action="contact.php" method="get" style="margin:0; padding:0 ">
<div class="w" style=" margin:3 0 0 17px; line-height:12px ">
Your full name:<input type="text" class="blue" style=" width:222; height:22px; background-color:#41BCEA" name="your_name" />
<br />
<br style="line-height:7px " />
E-mail address:<br /><input type="text" class="blue" style=" width:222; height:22px; background-color:#41BCEA" name="your_email" />
<br />
<br style="line-height:7px " />
Your telephone:<br /><input type="text" class="blue" style=" width:222px; height:22px; background-color:#41BCEA" name="your_phone" />
</div>
</form>
</td>
<td valign="top" width="277" height="181">
<div class="w" style=" margin:0 0 0 0px; line-height:12px ">
Your message:<br />
<br style="line-height:1px " />
<textarea name="message" cols="35" rows="35" style=" width:222px; height:112px; overflow:hidden " class="w"></textarea>
</div>
<div style="margin-left:98px; margin-top:5px;">
<input type="image" src="images/6_k1.gif" style=" border-style:none " />
<input type="image" style="margin-left:5px; border-style:none " src="images/6_k2.gif" onclick="submit();" />
我的root中有一个contact.php文件。
答案 0 :(得分:1)
您的提交按钮位于表单之外。将其移到form
标记内。实际上你的消息字段也是如此。
这些元素应该都在同一个form
标记内。