-
-
Save parzibyte/fe57fecdece3eccdf05a411c1019b469 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 | |
function registrarUsuario($correo, $palabraSecreta) | |
{ | |
$bd = obtenerBaseDeDatos(); | |
$sentencia = $bd->prepare("INSERT INTO usuarios(correo, palabra_secreta) VALUES (?, ?)"); | |
$sentencia->execute([$correo, $palabraSecreta]); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment