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
| <!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 method="post" action="ajout_fmpa_enregistrement.php">
<br />
<select name="nom_fmpa" id="nom_fmpa" style="width:250px; font-size:18px">
<option value="<?php echo ""; ?>"><?php echo ""; ?></option>
<?php
include('../config.php');
//modification des caractères avec accents
mysqli_query($conn,"SET CHARACTER SET 'utf8'");
mysqli_query($conn,"SET SESSION collation_connection ='utf8_unicode_ci'");
$select = "select * FROM fmpa_type ";
$result = $conn->query($select);
$total = mysqli_num_rows($result);
while($donnees = mysqli_fetch_array($result))
{
?>
<option value="<?php echo $donnees['nom_fmpa']?>"><?php echo $donnees['nom_fmpa']?></option>
<?php
}
?>
</select>
<br /><br>
<input type="text" name="recurrence" id="recurrence" />
<br /><br />
<input type="submit" value="Valider" />
<br /><br />
<div align="center"></div>
</form>
</body>
</html> |
Partager