Esempio n. 1
0
 public static function deleteCommandes(Commandes $commandes)
 {
     $pdo = Database::getInstance()->prepare('DELETE FROM commandes WHERE idCommande=:idCommande ');
     $pdo->bindValue(':idCommande', $commandes->getIdCommande());
     $pdo->execute();
 }
Esempio n. 2
0
                } 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();