2011-08-11 45 views
1

首先感謝您的回答。我真的不知道我的網站表格發生了什麼。 我們在計算機維修工作不在編程,所以我非常困惑,爲什麼這不起作用。編碼可在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();" />                 

我的根目錄中有一個contact.php文件。

+0

這裏甚至沒有足夠的信息來開始幫助。 – David

+0

如果您在此粘貼表單,然後突出顯示錶單的內容,然後單擊「代碼」格式按鈕{},我們將能夠看到代碼。除非你想給我們所有的王國鑰匙,否則在發佈之前請確保沒有像連接字符串,用戶名,密碼等敏感內容。 – David

+0

我試圖複製。感謝您的建議,在這一點上,我的密碼對任何人都沒有好處。沮喪設置。 – user890300

回答

1

您的提交按鈕超出了您的表單。將其移動到form標籤內。實際上你的消息字段也是如此。

這些元素應該全部位於相同的form標籤內。

+0

噢謝謝你,謝謝你這個簡單的伎倆做到了。 – user890300