时间:2021-07-01 10:21:17 帮助过:23人阅读
代码如下:
$db=new Db;
$sql="select * from com_info,hr_info where hr_info.ci_id=com_info.id and {$cate} like '%{$content}%'";
$totalArr=$db->execute($sql);
$url="hr.php?op=searchHrInfoAction&cate={$cate}&c
$totalItems=count($totalArr);
$currentPageNumber=(isset($_GET['page']))?$_GET['page']:1;
$pageNav=new PageNumber($currentPageNumber,$totalItems,3,3,$url);
$currentPageRs=$pageNav->getRsPerPage(&$totalArr);
$pageNavigation=$pageNav->getPageNumber();
$smarty->assign("pageNavigation",$pageNavigation);
$smarty->assign("hr",$currentPageRs);
$smarty->display("hr_get.htm");
以上就介绍了smartprinter虚拟打印机 smarty+adodb+部分自定义类的php开发模式,包括了smartprinter虚拟打印机方面的内容,希望对PHP教程有兴趣的朋友有所帮助。