本文整理汇总了PHP中dao::pediall方法的典型用法代码示例。如果您正苦于以下问题:PHP dao::pediall方法的具体用法?PHP dao::pediall怎么用?PHP dao::pediall使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类dao
的用法示例。
在下文中一共展示了dao::pediall方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: dao
$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;
$pedxcod = $objDAO->pedxcod($codpe);
$_SESSION['pedxcod'] = $pedxcod;
header('Location: ../view/pedxcod.php');
break;
case 16:
unset($_SESSION['pedxusu2']);
$objDAO = new dao();