Hello. I have this table that prints out data from the DB. I would like to generate a radio in front of each row that will be generated. How can I do this inside my table body? Thanks.
<table class="table table-striped">
<thead>
<tr>
<th>ID</th>
<th>Name</th>
<th>Surname</th>
</tr>
</thead>
<tbody>
<?php
require_once ('database_initialisation.php');
$table = "members";
$array = $admin_query->viewTableData($table);
foreach ($array as $row)
{
echo
"
<tr>
<td>" . $row['member_id'] . "</td>
<td>" . $row['member_id'] . "</td>
<td>" . $row['member_first_name'] . "</td>
<td>" . $row['member_last_name'] . "</td>
</tr>";
} ?>
</tbody>
</table>