1 | <?php |
2 | |
3 | require_once __DIR__ . "/Bd.php"; |
4 | |
5 | function suscripcionElimina(string $endpoint) |
6 | { |
7 | $con = Bd::getConexion(); |
8 | $stmt = $con->prepare( |
9 | "DELETE FROM SUSCRIPCION |
10 | WHERE SUS_ENDPOINT = :endpoint" |
11 | ); |
12 | $stmt->execute([":endpoint" => $endpoint]); |
13 | } |
14 |