<form>这是查询按钮的代码
<input type="text" id="t" value="" name="t"/>
<input type="button" class="anniu4" value="查询" onclick="window.location='city.php?module=query'"/>
</form>
<?phpquery那个我怎么添加代码
require_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');
}
------解决思路----------------------
其实我都不知道你想干什么