$sql = sql_allfetsel( $nom_champ_id.','.$champs_a_traiter, $table_sql, $where, '', $nom_champ_id.' ASC' );