點擊時帶2個參數
例如
field = id
order = asc/desc然後提交到後台,後台接收後,select 時加上order by $field $order;
再返回刷新頁面就可以了。
例如
field = id
order = asc/desc然後提交到後台,後台接收後,select 時加上order by $field $order;
再返回刷新頁面就可以了。
解决方案 »
- php 比较好的框架用什么?
- liunx ssh下网站转向问题
- PHP程序员比桌面编程(比如C++,JAVA)的程序员工资要低吗?
- php与mysql的联接问题
- php怎么接收jsp页面传过来的参数?
- 在redhat9.0下面,php网页session用不了,求救噢
- 大家好!能帮我一下么?我是初学者!
- PHP怎么执行sql的script文件对oracle数据库进行操作?
- 大侠们,Warning: main(datafile/superadmin.php): failed to open stream: No such file or directory in G:\Apache2\htdocs\qmwdb\wdb.
- 各位哪里有php的函数帮助可以下载?中文的
- php中的echo
- 关于换行的问题
查詢條件放session吧,至於分頁,你排序後,分頁不是應該跳到第一頁嗎?