Processing radio buttons in loop in PHP
问题 I have a loop that iterates 3 times. Inside the loop I have a HTML form that has radio buttons. I'm processing the input using PHP. When I echo the form data, its not showing the correct values. Is it a wrong way of processing the data ? Any help is appreciated. test.php <?php for ($i = 1; $i <= 3; $i++) { ?> <form action = 'test.php' method = 'post'> <input type="radio" name="num<?php echo $i; ?>" value="one">One<br> <input type="radio" name="num<?php echo $i; ?>" value="two">Two </form> <