⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 etudiants.php

📁 matlab ystem will automatically delete the directory of debug and release, so please do not put fil
💻 PHP
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>

<body >

<?php 
session_start();
$_SESSION["id_classe"]=$_GET["id_classe"];

$cnx = mysql_connect("127.0.0.1","root","") or die ("impossible de se connecter");
$db="isi";
mysql_select_db($db,$cnx)or die ("impossible d'ouvrir la base");
//echo $_SESSION['id_classe'];
$id=$_SESSION["id_classe"];
$requete=mysql_query("select * from etudiant where id_classe='$id'");
echo "<table border='4' width=100% bgcolor='#99FFFF'>";
echo "<tr>
<td colspan='7' align='center'><pre> <a href='classes.php'><img src='Sans titre4.png'  width='3%' height='3%' title='Pr閏閐ent'/></a>                                                      <b> Liste des etudiants</b>                                                             <a href='ajoutetudiant.php'><img src='Sans titre5.png'  width='3%' height='3%' title='Ajouter' /></a> </pre></td>
</tr>";

echo "<tr>
<td align='center'>Nom</td>
<td align='center'>Pr閚om</td>
<td align='center'>Date naissance</td>
<td align='center'>CIN</td>
<td align='center'>GSM</td>
<td  colspan='2' align='center'>Action</td>

</tr>";
while($result=mysql_fetch_array($requete))
{

echo "<tr>";

echo "<td>".$result[2]."</td>";
echo "<td>".$result[3]."</td>";
echo "<td>".$result[4]."</td>";
echo "<td>".$result[6]."</td>";
echo "<td>".$result[5]."</td>";
echo "<td width='10%' align='center'><a href='modifetudiant.php?nom=$result[0]'><img src='vista-077.png'  width='15%' height='15%' title='Modifier' /></a></td>";
echo "<td width='10%' align='center'><a href='supprimetudiant.php?nom=$result[0]'><img src='vista-005.png'  width='15%' height='15%' title='Supprimer' /></a></td>";
echo "</tr>";
}
echo "</table>";
?>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -