I want to add a column in my table that will contain check boxes that if it will be selected I may be able to get all the id's of the selected row data.
Here's my code:
<table>
<thead>
<th>Name</th>
<th>Company</th>
<th>Address</th>
</thead>
<tbody>
<?php
$sql = "SELECT * FROM Client";
$qry = mysql_query($sql);
while($row = mysql_fetch_array($qry)){
echo "<tr>
<td>$row[name]</td>
<td>$row[company]</td>
<td>$row[address]</td>
</tr>";
}
</tbody>
</table>
My problem is, how could I add another column that will contain check boxes that will represent the id of row data being selected. And how can I retrieve those values? Thanks!