php 高级搜索下拉框,高级搜索页面advancedsearch.php调用自定义字段
下面跟大家談的是關(guān)于”如何在在高級(jí)搜索頁(yè)面advancedsearch.php調(diào)用自定義字段“方法:
步驟:
找到advancedsearch.php頁(yè)面。
$query = "select main.id as aid,main.*,main.description as description1, type.* from $maintable main left join dede2_arctype type on type.id=main.typeid left join $addontable addon on addon.aid=main.id $where? $orderby";
改成
$query = "select main.id as aid,main.*,main.description as description1, type.* ,addon.*
from $maintable main
left join dede2_arctype type on type.id=main.typeid
left join $addontable addon on addon.aid=main.id
$where? $orderby";
提示:考慮dede程序性能,如果沒必要就不要搜索這些字段了
標(biāo)簽:
本文地址:高級(jí)搜索頁(yè)面advancedsearch.php調(diào)用自定義字段 https://www.shenqiu123.com/a/jianzhan/zhishi/2842.html
總結(jié)
以上是生活随笔為你收集整理的php 高级搜索下拉框,高级搜索页面advancedsearch.php调用自定义字段的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 为何iOS 14.5“允许App请求追踪
- 下一篇: php检测一个变量是否设置函数,php如