我想將數據發佈到我有的網頁(page3.php)。但是,當我在此頁上執行$test=$_POST['radio_second'];
時,測試變量中沒有數據。無法讀取值
任何人都可以弄明白嗎?非常感謝。
<p>
<form method="post">
<label for="radio1_0">1</label>
<input type="radio" name="radio_second" id="radio1_0" value="1" />
<label for="radio1_1">2</label>
<input type="radio" name="radio_second" id="radio1_1" value="2" />
<label for="radio1_2">3</label>
<input type="radio" name="radio_second" id="radio1_2" value="3" checked/>
<label for="radio1_3">4</label>
<input type="radio" name="radio_second" id="radio1_3" value="4" />
<label for="radio1_4">5</label>
<input type="radio" name="radio_second" id="radio1_4" value="5" />
</p>
</form>
</fieldset>
</div>
</div>
<a href="page1.php" data-inline="true" data-theme="a" data-role="button" data-direction="reverse" data-transition="slide" style="height:53px;width:150px">Prev</a>
<a href="page3.php" data-inline="true" data-theme="a" data-role="button" data-transition="slide" style="height:53px;width:150px">Next</a>
此標記不完整。無關的'fieldset','div'和錨標籤來自哪裏?請將您的標記的其餘部分編輯爲該問題,以便稍後通過此處的任何人都可以從此問題中受益。 – jwiscarson