This commit is contained in:
2026-04-05 14:26:49 +00:00
parent a1e6a37b0b
commit 9b42b477db
2 changed files with 16 additions and 1 deletions

View File

@@ -1219,4 +1219,16 @@ class Adherent extends Modele {
return $resultat->fetchAll(PDO::FETCH_ASSOC);
}
public function getIdPoliceAdherent($idAdherent)
{
$sql = 'SELECT idPolice from adherent where id=? limit 1;';
$resultat = $this->executerRequete($sql, array($idAdherent));
$ligne = $resultat->fetch(PDO::FETCH_ASSOC);
return $ligne['idPolice'];
}
}