<var id="xvh3p"><noframes id="xvh3p"><var id="xvh3p"></var><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing>
<var id="xvh3p"><strike id="xvh3p"><var id="xvh3p"></var></strike></var><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<span id="xvh3p"><noframes id="xvh3p"><dl id="xvh3p"></dl>
<span id="xvh3p"><noframes id="xvh3p">
<dl id="xvh3p"><noframes id="xvh3p">
<listing id="xvh3p"><noframes id="xvh3p"><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<th id="xvh3p"><strike id="xvh3p"></strike></th>
<dl id="xvh3p"><noframes id="xvh3p">
<th id="xvh3p"><noframes id="xvh3p">

观点

互联网+时代,说建站,谈运营与网络营销

如何在在高级搜索页面advancedsearch.php调用自定义字段

时间:2020-12-21

下面跟大家谈的是关于”如何在在高级搜索页面advancedsearch.php调用自定义字段“方法:

步骤:

找到advancedsearch.php页面。
$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程序性能,如果没必要就不要搜索这些字段了

0
首页
案例
关于
联系