After the check box is submitted to the client, how does the server avoid the checked query submitted by the client?

Source: Internet
Author: User
After the check box is submitted to the client, how does the server process the checked query submitted by the client? For example, I checked, 5, and how to get, 5 on the server, and found the number of large, medium, and small models. The database field is the kid, lb, xh & nbsp in the table. The model contains only three values: large, medium, and small. Also, how do I check and submit data after paging. For example, after I check the box to submit the content selected by the client, how does the server handle the query selected by the client?


For example, if I select, 5
On the server side, how can I obtain products, 5, and how many other models are available.
The database field is the kid, lb, and xh values in the table. The model contains only three values: large, medium, and small.

Also, how do I check and submit data after paging.
For example, on the first page, I checked 3, 4, 5, and 3, 8, 9, and 12 on the second page. because the page is displayed, I need to check the page and how to submit the data after checking the page, please kindly advise ..

Share:
------ Solution --------------------
$ Kid = join (',', $ _ POST ['kid'])
$ SQL = "select * from table where kid in ($ kid )";

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.