Home >Backend Development >PHP Tutorial >ThinkPHP的volist 中的复选框,该怎么解决

ThinkPHP的volist 中的复选框,该怎么解决

WBOY
WBOYOriginal
2016-06-13 12:09:021221browse

ThinkPHP的volist 中的复选框
代码


选定状态


可得到的是所有为什么啊?

------解决思路----------------------
这么多的复选框,这么多的提交按钮,你想咋整?
------解决思路----------------------
channelname 是文本框,自然会被全部提交
复选框 id 就只有被选中的才会提交

你要依据 id 判定哪些被提交了

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn