多个下拉列表来过滤数据库 [英] multiple dropdown to filter database

查看:65
本文介绍了多个下拉列表来过滤数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在多个下拉列表中设置过滤器来获取数据库,就像在此页面上一样... www.worldwidediscount.net

I want to make filters on multiple dropdown to fetch database like on this page...www.worldwidediscount.net

推荐答案

WHERE 查询子句,使用 AND 运算符连接所有下拉选项给出的搜索条件。
In the WHERE clause of your query, concatenate the search criteria given by all the dropdown selections using the AND operator.


我想用各种组合显示每个下拉列表的选择结果
I want to show result on selection of each dropdown with various combination


这篇关于多个下拉列表来过滤数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆