Example #1
0
     $_SESSION['opp'] = $opp;
     $pedxfecha = $objDAO->pedxfecha($fec1, $fec2);
     $_SESSION['pedxfecha'] = $pedxfecha;
     header('Location: ../view/pedidosxfecha.php');
     break;
 case 12:
     unset($_SESSION['pediapro']);
     $objDAO = new dao();
     $pediapro = $objDAO->pediapro();
     $_SESSION['pediapro'] = $pediapro;
     header('Location: ../view/pediapro.php');
     break;
 case 13:
     unset($_SESSION['pedipend']);
     $objDAO = new dao();
     $pedipend = $objDAO->pedipend();
     $_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;