dfgfg
This commit is contained in:
parent
bf119d5280
commit
422e565270
|
|
@ -17,13 +17,9 @@ class Gestionconfiee extends Modele {
|
|||
{
|
||||
$sql = "sp_get_garant_id(?);";
|
||||
|
||||
$sql = "SELECT a.*, b.libelle as typegc FROM gc_assureur a
|
||||
JOIN gc_typegarant b ON (a.typeGarant = b.id)
|
||||
WHERE a.id=?";
|
||||
$resultat = $this->executerRequete($sql, array($idGc));
|
||||
$context = $resultat->fetch(PDO::FETCH_ASSOC);
|
||||
var_dump($context);
|
||||
die();
|
||||
|
||||
$_SESSION['codeGcAssureur_C'] = $context['codeGcAssureur'];
|
||||
$_SESSION['GcAssureur_C'] = $context['libelle'];
|
||||
return $context;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user