Hi,
I have built a shopping cart application it all works fine (for once!!).
I have added a button on the page to empty the cart but I'm not sure what to do with it in order to delete all the items in the cart.
The items are stored in arrays and set as session_variables:
<?
session_register("name");
session_register("desc");
session_register("size");
session_register("quantity");
session_register("cost");
?>
The empty basket button is a submit form field. What code should I use to empty these session variables...?
Please help!