Home  >  Article  >  Backend Development  >  ThinkPHP的volist 中的复选框

ThinkPHP的volist 中的复选框

WBOY
WBOYOriginal
2016-06-23 13:46:221871browse

代码


选定状态


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


回复讨论(解决方案)

这么多的复选框,这么多的提交按钮,你想咋整?

那是我遍历出来的!当然有用啊!按正常的不是我选定复选框,POST得到应该是我选定的内容啊!

channelname 是文本框,自然会被全部提交
复选框 id 就只有被选中的才会提交

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

这个如何设置单选,谢谢QQ:435575932

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