求一段程序解决办法

WBOY
Release: 2016-06-13 10:08:10
Original
835 people have browsed it

求一段程序
表连接查询完后的 结果是

 


我想要一个 下拉列表框的样子 , 做成点击下拉后 就是 这样




请问 该如何用PHP 实现啊?

------解决方案--------------------
你这个其实就是一个分类啊,要分父类,子类才可以实现,你的数据库表估计得改改
------解决方案--------------------
php要实现这个功能不是很清楚,flex 就属于要重写下拉列表框的AS文件了

不过 可以考虑 用两个下拉列表 在第一个下拉列表框 添加一个onchange事件,自己写一个js方法 当第一个下拉列表框的值做改变时 把这个选项 作为查询条件 去select 第二个下拉列表框的值 再做显示....

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!