I'm not sure what this statement is supposed to do:
Immediately after that there is a switch function:$action = (isset($_GET['action']) && $_GET['action'] != '') ? $_GET['action'] : 'view';
What does the isset statement do here?switch ($action) {
case 'add' :
addToCart();
break;
case 'update' :
updateCart();
break;
case 'delete' :
deleteFromCart();
break;
case 'view' :
Thanks for any help!



Reply With Quote

Bookmarks