-
-
Save parzibyte/84fe97414855c1784ca97aa5fbeac1fe 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 | |
if (!isset($_POST["nombre"]) || !isset($_POST["precio"]) || !isset($_POST["descripcion"])) { | |
exit("Faltan datos"); | |
} | |
include_once "funciones.php"; | |
guardarProducto($_POST["nombre"], $_POST["precio"], $_POST["descripcion"]); | |
header("Location: productos.php"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment