以下是我們爲訪問者發佈信息的代碼; (工作正常)未提交客戶輸入的數據 - 感謝您的幫助
我們的問題是訪問者輸入的數據沒有記錄在我們創建的「requests.php」頁面上。
非常感謝您幫助解決此問題,並允許我們收集requests.php表單上的數據並每次都保存此表單。
<div class="content">
<form action="requests.php" method="POST">
header('Location: thank_you.php')
<strong>¿Qué limusina usted queria comprar?</strong><br>
<textarea name="Comments" rows="10" cols="50"></textarea>
<br>
<br>
<p><strong>Su Informaciónes (Importante): Click sobre
"Submit" al fin cuando usted ha terminado:</strong></p>
<br>
<strong>Su nombre</strong><br>
<input name="Name" value size="50">
<br>
<br>
<strong>País y Ciudad</strong><br>
<input name="Country" value size="50">
<br>
<br>
<strong>Companía (Importante)</strong><br>
<input name="Company" value size="50">
<br>
<br>
<strong>Teléfono</strong><br>
<input name="Telephone" value size="50">
<br>
<br>
<strong>E-Mail</strong><br>
<input name="EMail" value size="50">
<br>
<br>
<strong>¿Cuando usted quiere comprar su Limusina?</strong><br>
<input name="When_need_limo" value size="50">
<br>
<br>
<input name="submit" type="submit" value="Submit">
</form>
</div> <!-- end main div -->
請爲requests.php提供您的代碼,否則我們無法調試它。 –
好的謝謝,試圖把代碼,它顯示網頁差不多?我是否需要將代碼放在括號內? – Ced
編輯器中有代碼標籤。您突出顯示代碼並推送它們。他們看起來像'{}' –