更新时间:2023-10-15 08:41:16
对您***的建议是,如果某些方法无法按您希望的方式工作,则应检查每一步会发生什么,直到发现问题为止.这不仅适用于此问题,还适用于任何编程问题(以及许多其他问题).
The best advice for you is that if something doesn't work the way you want, you should examine what happens at each step until you find the problem. This doesn't only apply to this question, but to any programming problem (and many others).
在这种情况下
console.log(rubricChkbox);
.您检查了该值吗?您为什么不将其包含在问题中?print_r ($_POST);
的东西.console.log(rubricChkbox);
. Did you check that value? Why didn't you include it in the the question?print_r ($_POST);
.