Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created Jan 13, 2021
Embed
What would you like to do?
<?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