Table of Contents
smarty查询方法
Jun 23, 2016 pm 01:24 PM
<form> <input type="text" id="t" value="" name="t"/> <input type="button" class="anniu4" value="查询" onclick="window.location='city.php?module=query'"/> </form>
Copy after login
<?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');}
Copy after login
回复讨论(解决方案)
没人回复么? 我要给分了。。。。。。
其实我都不知道你想干什么
其实我都不知道你想干什么
不知道就对了 哈哈 想结个贴而已
Statement of this Website
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

Hot Article
Repo: How To Revive Teammates
3 weeks ago
By 尊渡假赌尊渡假赌尊渡假赌
How Long Does It Take To Beat Split Fiction?
3 weeks ago
By DDD
R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
1 weeks ago
By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks ago
By 尊渡假赌尊渡假赌尊渡假赌

Hot tools Tags

Hot Article
Repo: How To Revive Teammates
3 weeks ago
By 尊渡假赌尊渡假赌尊渡假赌
How Long Does It Take To Beat Split Fiction?
3 weeks ago
By DDD
R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
1 weeks ago
By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks ago
By 尊渡假赌尊渡假赌尊渡假赌

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

11 Best PHP URL Shortener Scripts (Free and Premium)

Working with Flash Session Data in Laravel

Simplified HTTP Response Mocking in Laravel Tests

cURL in PHP: How to Use the PHP cURL Extension in REST APIs

Build a React App With a Laravel Back End: Part 2, React

12 Best PHP Chat Scripts on CodeCanyon
