本文整理匯總了PHP中dao::buscar方法的典型用法代碼示例。如果您正苦於以下問題:PHP dao::buscar方法的具體用法?PHP dao::buscar怎麽用?PHP dao::buscar使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類dao
的用法示例。
在下文中一共展示了dao::buscar方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: unset
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;
}