Here https://i.stack.imgur.com/by7Y0.jpg is the screenshot of attendance panel what I want to make.
I am making an attendance panel but I am not able to select single radio button in single row which is iterating in a loop and on submit value of present, absent and halfday should be stored in three different arrays. But in my case I am able to select only one radio button among all. If I change the name of radio button to three different names than I am able to select only one radio button in column but I want to select single radio button in row. Here is code.
`<tr>
<td><input type="radio" name="present[]" required value=''></td>
<td><input type="radio" name="absent[]" required value=''></td>
<td><input type="radio" name="halfday[]" required value=''></td>
</tr>`