Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created January 17, 2021 22:16
Show Gist options
  • Save parzibyte/0a9d07c8e9fcee345e6a7b0759d6181a to your computer and use it in GitHub Desktop.
Save parzibyte/0a9d07c8e9fcee345e6a7b0759d6181a to your computer and use it in GitHub Desktop.
<?php
if (!isset($_GET["id"])) {
http_response_code(500);
exit();
}
include_once "funciones.php";
$respuesta = eliminarProducto($_GET["id"]);
echo json_encode($respuesta);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment