<br>
<script>
function check(id){

document.getElementById(id).checked=!document.getElementById(id).checked;

}
</script>
<?php 
require_once "bd_utils.php";
require_once "tools.php";
$obj_utils = new bd_utils();
$obj_utils->connect();
$tabRunners = $obj_utils->getAllRunners();
$obj_utils->close();
if ($tabRunners != 0) {
    ?>
	<form action="./admin/updateInscription.php" method="post" name="updateInscription">
	<table class="principale">
		<tr><th colspan="6"><h2>Inscriptions Précédentes</h2></th></tr>
		<tr><th></th><th>Nom</th><th>Prénom</th><th>Dossard</th><th>Distance</th><th colspan="2">Club</th></tr>
	<?php 
    for ($i = 0; $i < sizeof($tabRunners); $i++) {
        ?>
		
		<tr class="list" >
			<td class="listing">
				<input id="<?php 
        echo $tabRunners[$i]['id'];
        ?>
" name="toUpdate[]" type="checkbox" value="<?php