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