I have a built set of radio button INPUT tags in which the name of each set had a number appended to it (button1, button2, etc.). Now I want to loop through the buttons and get the value for each. What is the syntax for building the names? Here is what I tried that doesn't work:
I guess the $i is recognized in double quotes but not single quotes.
Code:
$button_value=$_POST['button$i'];