Created
September 19, 2019 18:29
-
-
Save parzibyte/5ccfbe890748854cbee9f12072343389 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
public function destroy($id_de_sesion) | |
{ | |
$sentencia = $this->base_de_datos->prepare("DELETE FROM sesiones WHERE id = ?;"); | |
return $sentencia->execute([$id_de_sesion]); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment