<FORM action="demande.php" name="form" method="post"> <SELECT name="demande" <?php $resultat=mysql_query("SELECT DISTINCT LKLO from demande"); if ($resultat){ $num_results=mysql_num_rows($resultat); for($i=0; $i<$num_results-1; $i++){ // Pour chacune de ces lignes on recupere un tableau associatif $ligne=mysql_fetch_array($resultat); ?> <OPTION value=<?php echo $ligne['LKLO'] ?> ><?php echo $ligne['LKLO']; } } ?> </OPTION> </SELECT> </FORM>
<?php echo $_POST["demande"]; ?>
<?php while ($ligne=mysql_fetch_array($resultat)) { echo ' '; } ?>
<fieldset class="postulant"> <legend class="postulant">Dossier Numéro : <?php echo $ligne; ?> Demande éffectuée le : 23/10/2003</legend>
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question