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
|
if(isset($Selection)) /* Debut de la modification */
{
if ($Profs == 1)
{
$Profs = "checked";
}
else
{
$Profs ="";
}
if ($present == 1)
{
$present = "checked";
}
else
{
$present ="";
}
?>
<FORM class="Cadre" Method="POST" width=630 height=330 enctype="multipart/form-data" action="modif">
<p >Prenom </p>
<p>
<input class="posmod" name="noupre" type="text" id="noupre" size="15" maxlength="15" value="<?php echo $prenom; ?>">
</p>
<p >Nom </p>
<p>
<input class="posmod" name="nounom" type="text" id="nounom" size="20" maxlength="2" value="<?php echo $nom; ?>">
</p>
<p >C est un Prof ?
<input class="posmod" name="nouprofs" type="checkbox" checked="checked" id="nouProfs" value="<?php echo $Profs; ?>">
Il est décédé ?
<input class="posmod" name="noupre" type="checkbox" checked="checked" id="noupre" value="<?php echo $present; ?>">
</p>
<p >
<input class="Bouton" type="submit" name="Confirm" id="Confirm" value="Je confirme" />
</p>
</FORM> |