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 40 41 42 43 44 45 46 47 48 49 50 51 52
| <form id="form1" name="form1" method="post" action="choix par biomasse.php"> <table width="100%" border="1" cellpadding="0" cellspacing="5" bordercolor="#FFFFFF" bgcolor="#003366">
<tr>
<td><div align="left" class="Style17">Catégorie de biomasse</div></td>
<td><span id="spryselect1">
<label>
<div align="right">
<select name="cat" id="cat">
<?php
do {
?>
<option value="<?php echo $row_cat['CODE_CAT']?>"<?php if (!(strcmp($row_cat['CODE_CAT'], $row_cat['CODE_CAT']))) {echo "selected=\"selected\"";} ?>><?php echo $row_cat['NOM_CAT']?></option>
<?php
} while ($row_cat = mysql_fetch_assoc($cat));
$rows = mysql_num_rows($cat);
if($rows > 0) {
mysql_data_seek($cat, 0);
$row_cat = mysql_fetch_assoc($cat);
}
?>
</select>
</div>
</label></span></td>
</tr>
<tr>
<td><div align="left" class="Style17">Sous catégorie</div></td>
<td><span id="spryselect3">
<label>
<div align="right">
<select name="soucat" id="soucat">
<?php
do {
?>
<option value="<?php echo $row_soucat['CODE_SOUCAT']?>"<?php if (!(strcmp($row_soucat['CODE_SOUCAT'], $row_soucat['CODE_SOUCAT']))) {echo "selected=\"selected\"";} ?>><?php echo $row_soucat['NOM_SOUCAT']?></option>
<?php
} while ($row_soucat = mysql_fetch_assoc($soucat));
$rows = mysql_num_rows($soucat);
if($rows > 0) {
mysql_data_seek($soucat, 0);
$row_soucat = mysql_fetch_assoc($soucat);
}
?>
</select>
</div>
</label></span></td>
</tr>
<tr>
<td height="26" colspan="2" align="center" valign="middle"><label>
<input type="submit" name="valide_cat" id="valide_cat" value="Recherche" />
</label></td>
</tr>
</table>
</form> |
Partager