Php form removal

Source: Internet
Author: User
The php form deletion function enables me to add checkbox, & lt; inputtype & quot; checkboxname & quot; cd0 & quot; id & quot; cd () to all forms at the front end of the website () & quot; & gt; but I don't know how to implement the selected deletion function in php, and the data to be deleted in the background must also be deleted synchronously. please provide instructions. it is best to provide a detailed description, thank you ------ solution ----------- implementation of the php deletion function of the form
I added checkbox to the front-end forms at the website background, 但不知道怎么在php中实现选中删除功能,要后台的数据也同步删除,请予以指导,最好详细一点,谢谢

------解决方案--------------------
html:




Js:
Script
$ (Document). ready (function (){
$ (". Button"). click (function (){
Var checkval = $ ("input [name ^ = 'CD']: checked"). val ();
// Pass the value to the processing page
})
})
Script

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.