Home  >  Article  >  Backend Development  >  smarty查询方法

smarty查询方法

WBOY
WBOYOriginal
2016-06-23 13:24:45917browse


<form>    <input type="text" id="t" value="" name="t"/>	<input type="button"  class="anniu4" value="查询" onclick="window.location='city.php?module=query'"/>    </form>
这是查询按钮的代码  
<?phprequire_once('adminbase.php');require_once('CityBusiness.php');//用户管理$module = $_REQUEST["module"];$city = new CityBusiness();if (!isset($module) || $module == "list"){	$smarty->assign("pageTitle","城市管理");	$list = $city->getAllList();	$smarty->assign("list",$list);	$smarty->display('admin/city/list.tpl');}else if ($module == "query"){    			$smarty->display('admin/city/query.tpl');}
query那个我怎么添加代码


回复讨论(解决方案)

没人回复么?  我要给分了。。。。。。

其实我都不知道你想干什么

其实我都不知道你想干什么


不知道就对了  哈哈  想结个贴而已
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn