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
|
<?
$sql3 = "SELECT carburant,prixcarb FROM carburant order by code asc";
$sql_result3 = mysql_query($sql3) or die("Couldn't execute query.");
while ($row3 = mysql_fetch_array($sql_result3)) {
$carburant = $row3["carburant"];
$prixcar=$row3["prixcarb"];
@$option_block3 .= "<OPTION value=\"$carburant $prixcar\">$carburant $prixcar</OPTION>";
}
?>
<select onchange="../intra/vn/vn.php" name="codecarburant" id="select14" STYLE="COLOR: #000000; FONT-FAMILY: Verdana; FONT-SIZE: 8pt">
<option value=""> </option>
<? echo "$option_block3"; ?>
</select>
</font></td>
</tr>
<tr>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Bon
:</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
<input name="bon" type="text" id="bon3" value="" size="15" STYLE="COLOR: #000000; FONT-FAMILY: Verdana; FONT-SIZE: 8pt">
</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Prix
carburant : </font></td>
<td width="15%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
<input name="prixcarburant" type="text" id="prixcarburant2" value="<? echo codecarburant ?>" size="4" STYLE="COLOR: #000000; FONT-FAMILY: Verdana; FONT-SIZE: 8pt">
</font></td>
</tr>
<tr>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Tva
:</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"> |
Partager