Home  >  Article  >  Backend Development  >  上拉框多重选中

上拉框多重选中

WBOY
WBOYOriginal
2016-06-13 13:01:40896browse

下拉框多重选中
点击以后出来所有栏目,可以选中多个的,请教下了
------解决方案--------------------

假定都选了,提交后
$_POST['select'] 是数组
直接插入的话
$s = join('.', $_POST['select']); //变成这样 第一项,第二项 的串


------解决方案--------------------
echo $query;//输出什么? 把这句放入phpmyadmin或命令行能执行吗?

另外,你的ExecuteNoneQuery又是如何写的?

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