Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
if(!isset($_GET["indice"])) return;
$indice = $_GET["indice"];
session_start();
array_splice($_SESSION["carrito"], $indice, 1);
header("Location: ./vender.php?status=3");
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment