I am working on creating a product database where I add products using a form, and view all products added. I am having trouble creating the delete product page working.
ADD Product page which sets the session variable:
$_SESSION['Products'][] = $_POST; //is how i set the session on the add products page.
unset $_SESSION['Products'][]; //is how i have tried to clear the session although it does not work.
Can someone point me in the right direction?