$_SESSION['pedipend'] = $pedipend; header('Location: ../view/pedipend.php'); break; case 14: unset($_SESSION['pediall']); $objDAO = new dao(); $pediall = $objDAO->pediall(); $_SESSION['pediall'] = $pediall; header('Location: ../view/pediall.php'); break; case 15: unset($_SESSION['pedxcod']); $objDAO = new dao(); $codpe = $_REQUEST['codpe']; $_SESSION['codpe'] = $codpe; $pedxcod = $objDAO->pedxcod($codpe); $_SESSION['pedxcod'] = $pedxcod; header('Location: ../view/pedxcod.php'); break; case 16: unset($_SESSION['pedxusu2']); $objDAO = new dao(); $codus = $_SESSION['codusu']; $pedxusu2 = $objDAO->pedxusu2($codus); $_SESSION['pedxusu2'] = $pedxusu2; header('Location: ../view/mispedidos.php'); break; case 17: unset($_SESSION['detasubc']); $scate = $_REQUEST['scate']; $objDAO = new dao();