0
問題與提交表單,我沒有看到任何錯誤form
部分。HTML - 發送表單提交
這是我的代碼示例,票號和用戶ID被從MYSQL中推入。當提交後到達服務器端時,我只獲得21個項目中的2個。 readonly
只在最上面的2個項目中,其餘的由最終用戶輸入。
<form action="<?php echo $NAV_includes_Research_Upload; ?>" method="POST">
<table class="Table_Center">
<tr>
<td>Ticket number:</td>
<td><input type="text" id="ticket" class="all" value="<?php echo "1"; ?>" readonly></td>
</tr>
<tr>
<td>User ID:</td>
<td><input type="text" id="user" class="all" value="<?php echo "test"; ?>" readonly>
</tr>
<tr>
<td>Site:</td>
<td><input type="url" id="website" class="all" autofocus required <?php if ($testing === 'ON') {echo 'value="http://www.google.com"';}?>></td>
</tr>
</table>
<table class="Table_Center">
<tr>
<td><input type="reset" value="Reset"></td>
<td><input type="submit" class="f_right" value="Submit"></td>
</tr>
</table>
</form>
謝謝你,這是失蹤的名節。 我必須記住這一點。
根據你的代碼,我可以發現你可能沒有從Action文件的表單中獲取任何數據。那是對的嗎? –
請發佈您的操作代碼。 –
當它返回到Action頁面時,它從Form中顯示2個項目被提交了21個項目。 –