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