复选框提交客户端勾选的内容后,服务器端如何避免客户端提交的勾选的查询

WBOY
Release: 2016-06-13 12:36:00
Original
855 people have browsed it

复选框提交客户端勾选的内容后,服务器端如何处理客户端提交的勾选的查询?


比如,我勾选了1,4,5
如何在服务器端获取到1,4,5并查询出各类别的大中小型号各有多少。
数据库的字段是table表里面的kid,lb,xh 其中型号里面只有大号,中号,小号三个值。

还有,分页后如何勾选提交数据。
比如我第一页勾选了1,4,5三条,第二页勾选了,8,9,12三条,因为分页了,需要翻页勾选,翻页勾选后如何提交数据,请高人指点。。

Related labels:
source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template