1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
| <form action="whereresultat.php" method="post" name="form1" class="Style1">
<label><strong>Choisissez un departement</strong>
<select name="select" accesskey="a" tabindex="1">
<?php
do {
?>
<option value="<?php echo $row_Departement['dept']?>"><?php echo $row_Departement['dept']?></option>
<?php
} while ($row_Departement = mysql_fetch_assoc($Departement));
$rows = mysql_num_rows($Departement);
if($rows > 0) {
mysql_data_seek($Departement, 0);
$row_Departement = mysql_fetch_assoc($Departement);
}
?>
</select>
</label>
<label>
<input type="submit" name="Submit" value="Envoyer" accesskey="v" tabindex="2">
</label>
</form> |
Partager