阅读背景:

如何使用php,AJAX或MySQL使用正确的ID使删除按钮完全正常工作?

来源:互联网 

I am having a little problem with this, every delete button is supposed to delete the record of its own id. If we click 164 it must delete the record of 164. It works fine if I remove the ajax and ask the form to validate directly, but if I use AJAX it only deletes the record of 1st record regardless of what button I press e.g. in current scenario it will always delete the record of 159 even if I press 164 button. My code gives the following output: Remember it works fine if I ask the form to validate directly from other PHP file. I am having a little problem with this, every d




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: