voici les images :

Nom : interclassement.jpg
Affichages : 106
Taille : 12,3 Ko

Nom : Sans-titre-1.jpg
Affichages : 104
Taille : 10,6 Ko

dans ma page html

Code html : Sélectionner tout - Visualiser dans une fenêtre à part
<meta http-equiv="content-type" content="text/html;charset=UTF-8"/>

Code : Sélectionner tout - Visualiser dans une fenêtre à part
self::$connection = new PDO("mysql:host=localhost;dbname=xxxx;dbName=xxx;dbUser=xxx;dbUserPassword=xxx; charset=UTF8;");
affichage

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
$sqlCan = "SELECT DISTINCT cantons FROM membres WHERE activation = 1 ORDER BY cantons ASC";
$reponseCan = $db->query($sqlCan);
 
								if ($reponseCan->fetch() == true){
									foreach($reponseCan as $result){
										if ($result['cantons'] != "")
										echo "<option>" . $result['cantons']. "</option>";
									}
								}