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