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
| <?php
session_start();
echo'<div id="contenuscrollbar2">';
echo'<table bgcolor="#000">'."\n";
echo '<tr>';
echo '<td bgcolor="#fff"><b><u>nom</u></b></td>';
echo '<td bgcolor="#fff"><b><u>prenom</u></b></td>';
echo '<td bgcolor="#fff"><b><u>age</u></b></td>';
echo '<td bgcolor="#fff"><b><u>ville</u></b></td>';
echo '</tr>'."\n";
while ($data = mysql_fetch_array($req)) {
// on affiche les résultats
echo '<form action =infirmiere.php method = post />';
echo '<td class="registered" bgcolor="#fff" align=center><input type="checkbox" name="checkbox" value="checkbox"></td>';
echo '<td class="registered" bgcolor="#fff">'.$data['nom'].'</td>';
echo '<td class="registered" bgcolor="#fff">'.$data['prenom'].'</td>';
echo '<td class="registered" bgcolor="#fff">'.$data['age'].'</td>';
echo '<td class="registered" bgcolor="#fff">'.$data['ville'].'</td>';
echo '</tr>'."\n";
}
echo '</form>';
echo '</table>'."\n";
echo'</div>';
?>
<form method="POST" action="test.php">
<strong>Voir les choix</strong><br/>
<input type="submit" value="choix" name="generer">
</form>
<?php
include('bdd.php');
if(isset($_POST['generer']))
{
echo'????';
}
?> |
Partager