<input type="radio" id="radio1" name="radio"><label for="radio1">Section 1 </label>
<input type="radio" id="radio2" name="radio"><label for="radio2">Section 2 </label>
<input type="radio" id="radio3" name="radio"><label for="radio3">Section 3 </label>
<input type="radio" id="radio4" name="radio"><label for="radio4">Section 4 </label>
<input type="radio" id="radio5" name="radio"><label for="radio5">Section 5 </label>
if (radiobuttun == section1)
{
include ("file1.php")
}
elseif (radiobuttun == section2)
{
include ("file2.php")
}
.
.
. -->
答案 0 :(得分:2)
假设表单是通过POST提交的,那么您要查找的变量是$ _POST [“radio”]。