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
|
<?php
$db_conn = mysql_connect("localhost","root","") or die (mysql_error());
mysql_select_db("lif4",$db_conn) or die (mysql_error());
?>
<html>
<head>
<title>Gestion des Inscriptions</title>
</head>
<body>
<h2><center>Demandes d'Inscription</center></h2>
<br>
<?php
$requete ="
SELECT *
FROM deminscription";
$resultat = mysql_query($requete) or die(mysql_error());
print "<ul>\n";
while ($nuplet = mysql_fetch_assoc($resultat)) {
print "<li> ".$nuplet['nom']." ".$nuplet['prenom']." ".$nuplet['login']." ".$nuplet['motdepasse']." ".$nuplet['type'];
print "</li>";
}
print "</ul>";
?>
</body>
</html> |
Partager