Пример #1
0
 public static function deleteDetails(Details $details)
 {
     $pdo = Database::getInstance()->prepare('DELETE FROM details WHERE idDetail=:idDetail ');
     $pdo->bindValue(':idDetail', $details->getIdDetail());
     $pdo->execute();
 }