本文整理匯總了PHP中dao::listcondole方法的典型用法代碼示例。如果您正苦於以下問題:PHP dao::listcondole方法的具體用法?PHP dao::listcondole怎麽用?PHP dao::listcondole使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類dao
的用法示例。
在下文中一共展示了dao::listcondole方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: header
session_unset($_SESSION['rol']);
session_unset($_SESSION['nomusu']);
session_unset($_SESSION['msg']);
header('Location: ../view/login.php');
break;
case 7:
unset($_SESSION['bbs']);
$objDAO = new dao();
$bbs = $objDAO->listbbs();
$_SESSION['bbs'] = $bbs;
header('Location: ../view/bbsni.php');
break;
case 8:
unset($_SESSION['condole']);
$objDAO = new dao();
$condole = $objDAO->listcondole();
$_SESSION['condole'] = $condole;
header('Location: ../view/condolencias.php');
break;
case 9:
unset($_SESSION['pedxusu']);
$objDAO = new dao();
$codus = $_REQUEST['codus'];
$_SESSION['codus'] = $codus;
$pedxusu = $objDAO->pedxusu($codus);
$_SESSION['pedxusu'] = $pedxusu;
header('Location: ../view/pedxusu.php');
break;
case 10:
$codpedido = $_REQUEST['codpedido'];
$_SESSION['codpedido'] = $codpedido;