Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created September 19, 2019 18:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/5ccfbe890748854cbee9f12072343389 to your computer and use it in GitHub Desktop.
Save parzibyte/5ccfbe890748854cbee9f12072343389 to your computer and use it in GitHub Desktop.
<?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