1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
| <table id="sample2">
<thead>
<tr>
<th>CL</th>
<th>NOM</th>
<th>OPÉRATEURS</th>
<th>MG</th>
<th>NIVEAU</th>
</tr>
</thead>
<tbody>
<?php
$sqlQuery = 'SELECT * FROM db_final_2223';
$indiv_finalStatement = $mysqlClient->prepare($sqlQuery);
$indiv_finalStatement->execute();
$indiv_final = $indiv_finalStatement->fetchAll();
foreach ($indiv_final as $indiv_final) {
?>
<tr>
<td class="rownums"></td>
<td class="infob"><?php echo $indiv_final['DOUBLETTE'] ?>
<span>
<table>
<thead>
<tr>
<th>NOM</th>
<th>MG</th>
</tr>
</thead>
<tbody>
<?php
$sqlQuery = 'SELECT * FROM jdb_final_2223 WHERE DOUBLETTE = ??????? ';
$infobStatement = $mysqlClient->prepare($sqlQuery);
$infobStatement->execute();
$infob = $infobStatement->fetchAll();
foreach ($infob as $infob) {
?>
<tr>
<td><?php echo $infob['JOUEUR'] ?></td>
<td><?php echo $infob['MG'] ?></td>
</tr>
<?php
}
?>
</tbody>
</table>
</span>
</td>
<td><?php echo $indiv_final['OPE'] ?></td>
<td><?php echo $indiv_final['MG'] ?></td>
<td><?php echo $indiv_final['NIVEAU'] ?></td>
</tr>
<?php
}
?>
</tbody>
</table> |
Partager