donc voila je prepare actuellement mon projet de fin d'etude et je crée une application web pour gestion des patients j'ai un probleme au niveau de la modification des information des patient dc j'ai realiser une page pour lister mes patients avec leur info je vouderais faire une bouton modifier pour modifier les infos d'un patients.
SVP aidez moi sachant que je suis debutant.
<?php
include('config.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=utf-8" />
<link href="<?php echo $design; ?>/style.css" rel="stylesheet" title="Style" />
<title>Liste des utilisateurs</title>
</head>
<body>
<div class="content">
Voici la liste des utilisateurs:
<table width="970">
<tr height="30">
<th width="134" height="30" background="tab2.gif">CIN</th>
<th width="134" background="tab2.gif">Nom </th>
<th width="134" background="tab2.gif">Prénom</th>
<th width="134" background="tab2.gif">Age</th>
<th width="134" background="tab2.gif">Adresse</th>
<th width="134" background="tab2.gif">Tel</th>
<th width="134" background="tab2.gif">CNAM</th>
</tr>
<?php
//On recupere les identifiants, les pseudos et les emails des utilisateurs
$req = mysql_query('select CIN, nom_p, prenom_p, age_p, adresse_p,tel_p,CNAM from fiche_patient');
while ($dnn = mysql_fetch_array($req))
{
?>
<tr align="center">
<td height="28" class="left" background="tab.gif">
<form id="form1" name="form1" method="post" action="" <?php echo $dnn['CIN']; ?>>
<label for="CIN"></label>
<input name="CIN" type="text" id="CIN" align="middle" value="<?php echo $dnn['CIN']; ?>" size="16" readonly="readonly" />
</form></td>
<td class="left" background="tab.gif"><form id="form2" name="form2" method="post" action="">
<label for="nom"></label>
<input name="nom" type="text" id="nom" value="<?php echo htmlentities($dnn['nom_p'], ENT_QUOTES, 'UTF-8'); ?>" size="16" />
</form>
</a></td>
<td class="left" background="tab.gif"><form id="form3" name="form3" method="post" action="">
<label for="prenom"></label>
<input name="prenom" type="text" id="prenom" value="<?php echo htmlentities($dnn['prenom_p'], ENT_QUOTES, 'UTF-8'); ?>" size="16" />
</form> </td>
<td class="left" background="tab.gif"><form id="form4" name="form4" method="post" action="">
<label for="age"></label>
<input name="age" type="text" id="age" value="<?php echo htmlentities($dnn['age_p'], ENT_QUOTES, 'UTF-8'); ?>" size="16" />
</form> </td>
<td class="left" background="tab.gif">
<form id="form5" name="form5" method="post" action="">
<label for="adresse"></label>
<input name="adresse" type="text" id="adresse" value="<?php echo htmlentities($dnn['adresse_p'], ENT_QUOTES, 'UTF-8'); ?>" size="16" />
</form></td>
<td class="left" background="tab.gif"><form id="form6" name="form6" method="post" action="">
<label for="tel"></label>
<input name="tel" type="text" id="tel" value="<?php echo htmlentities($dnn['tel_p'], ENT_QUOTES, 'UTF-8'); ?>" size="16" />
</form> </td>
<td class="left" background="tab.gif"><form id="form7" name="form7" method="post" action="">
<label for="CNAM"></label>
<input name="CNAM" type="text" id="CNAM" value=" <?php echo htmlentities($dnn['CNAM'], ENT_QUOTES, 'UTF-8'); ?>" size="16" />
</form> </td>
</tr>
<?php
}
?>
</table>
</div>
<div class="foot"><a href="<?php echo $url_home; ?>">Retour à l'accueil</a> - <a href="http://www.supportduweb.com/">Support du Web</a>
</div>
<span class="left"></span>
<input type="submit" name="modif" value="Modifier" />
</body>
</html>