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 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Document sans titre</title>
</head>
<body>
<form id="form1" name="form1" method="post" action="">
<table width="212" height="125" border="1">
<tr>
<td width="52">Ville</td>
<td width="144"><select name="ville" id="ville">
<option value="init" >selectionner une ville</option>
<?php
$req = "SELECT * FROM ville ";
$rs = mysql_query($req);$i=1;
while ($ligne = mysql_fetch_array($rs))
{
extract($ligne);
?>
<option value="<?php echo $idVille?>"><?php echo $nomVille?></option>
<?php }?>
</select></td>
</tr>
<tr>
<td>Zone</td>
<td><select name="zone" id="zone">
<option value="init" >Selectionner une zone</option>
<?php
$req = "SELECT * FROM zone";
$rs = mysql_query($req);
while ($ligne = mysql_fetch_array($rs))
{
extract($ligne);
?>
<option value="<?php echo $idZone?>"><?php echo $libelle?></option>
<?php }?>
</select></td>
</tr>
<tr>
<td>Vendeur</td>
<td><label for="textfield"></label>
<input type="text" name="textfield" id="textfield" /></td>
</tr>
<tr>
<td>qté reçu</td>
<td><label for="textfield2"></label>
<input type="text" name="textfield2" id="textfield2" /></td>
</tr>
</table>
<table width="209" border="1">
<tr>
<td><label for="button"></label>
<input type="submit" name="button" id="button" value="Envoyer" /></td>
<td><label for="button2"></label>
<input type="reset" name="button2" id="button2" value="Réinitialiser" /></td>
</tr>
</table>
</form>
</body>
</html> |
Partager