Exemplo n.º 1
0
 public function insertion_panier(Panier $unpanier)
 {
     $requete = $this->_db->prepare('insert into panier(idutil,idart,nomart,descriptionart,pointsart,quantiteart)values(:idutil,:idart,:nomart,:descripart,:pointsart,:quantiteart)');
     $requete->execute(array(':idutil' => $_SESSION['id'], ':idart' => $unpanier->getIdart(), ':nomart' => $unpanier->getNomart(), ':descripart' => $unpanier->getDescriptionart(), ':pointsart' => $unpanier->getPointsart(), ':quantiteart' => $unpanier->getQuantiteart()));
 }