$requete = "SELECT DISTINCT label FROM motscles ORDER by label";
$res = pg_query($requete);
$i=0 ;
while($data = pg_fetch_array($res)) { //pour chaque enregistrement
$label = str_replace("'","''",$data['label']);
echo $data['label'];
echo '
';
$i = $i +1 ;
}
?>