Home > Backend Development > PHP Tutorial > 上拉框多重选中

上拉框多重选中

WBOY
Release: 2016-06-13 13:01:40
Original
928 people have browsed it

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

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


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

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template