-
-
Save parzibyte/fa8f165e98247d3598c4f003874e6cd7 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 | |
$mysqli = include_once "conexion.php"; | |
$nombre = $_POST["nombre"]; | |
$descripcion = $_POST["descripcion"]; | |
$sentencia = $mysqli->prepare("INSERT INTO videojuegos | |
(nombre, descripcion) | |
VALUES | |
(?, ?)"); | |
$sentencia->bind_param("ss", $nombre, $descripcion); | |
$sentencia->execute(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment