I have a few Radio Buttons which shell send their value in the post method, when the submit button is clicked. I am pretty sure it is easy, but for any reason it does not work. It sends the calue of the submit button instead. Please help me. This is my code for now(this code is inside a PHP script):
echo "<form action=\"nutzerverwaltung.php\" method=\"post\">";
echo "<table [...]";
while ($row = $alluser->fetch_assoc())
{
echo "<tr>
HERE---> <td><input type=\"radio\" name=\"select_to_delete\" value=".$row["id"]."></td>
<td>".ucwords(strtolower(str_replace(".", " ", $row["username"])))."</td>
<td>".$row["username"]."@via-ev.de</td>
<td>".$row["permissionlevel"]."</td>
</tr>";
}
echo "</table><br />";
echo "<input type=\"submit\" name=\"select_to_delete\" class=\"nv_button\" />
</form>";