1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
| <?php
require ("Connect.php");
$connexion = mysql_pconnect (SERVEUR, NOM, PASSE);
mysql_select_db (BASE,$connexion);
$resultat = mysql_query ($requete, $connexion);
$sql = mysql_query("SELECT * FROM sit_formation WHERE id='$_SESSION[id]'");
echo '<table border=0 cellpadding="2" cellspacing="1" >
<tr class=memo3_etiquette>
<td width=300 height=20>nom</td>
<td width=50 height=20>supprimer</td>
</tr>';
while($result=mysql_fetch_array($sql))
{
echo '<tr><td class=data width=300 height=20>'.$result[nom'].'</td>
<td width=50 height=20><input type=checkbox name=delete[] value="'.$result['nomn'].'"></td>
</tr>';
}
echo '</table>';
?> |
Partager