public static function deleteCommandes(Commandes $commandes) { $pdo = Database::getInstance()->prepare('DELETE FROM commandes WHERE idCommande=:idCommande '); $pdo->bindValue(':idCommande', $commandes->getIdCommande()); $pdo->execute(); }
} else { ?> <?php include 'Interdiction_Acces.php'; ?> <?php } ?> <?php } else { ?> <?php include 'Interdiction_Acces.php'; ?> <?php } ?> <?php } else { ?> <?php include 'Interdiction_Acces.php'; ?> <?php } ?> <?php } } $class = new Commandes(); $class->run();