I am trying to post data to a webpage I have (page3.php). However, when I do $test=$_POST['radio_second'];
on this page, there is no data in the test variable.
Can anyone figure it out? Many thanks.
<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>