Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created January 21, 2021 00:21
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/e450d434ee8dace56b603acfd9051250 to your computer and use it in GitHub Desktop.
Save parzibyte/e450d434ee8dace56b603acfd9051250 to your computer and use it in GitHub Desktop.
<?php
function eliminarIntentos($idUsuario)
{
$bd = obtenerBaseDeDatos();
$sentencia = $bd->prepare("DELETE FROM intentos_usuarios WHERE id_usuario = ?");
$sentencia->execute([$idUsuario]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment