分享
  • 收藏
  • 举报
    X
    ​这个多条件查询应该怎么写啊........
    • 看到了什么 消费0元 2019-07-08 11:38 11:38
    685
    5
    {volist name=":query('cms_mysort',['where'=>['uid'=>$info.uid] & ['name'=>$rs.myfid]])" id="rs"}

    这个多条件查询应该怎么写啊

    4
    赏礼
    赏钱
    收藏
    点击回复
        全部留言
    • 5
    • 疯狂石头,临沂 普通粉丝 消费:965.11元 2021-02-01 16:16 16:166楼
      这个多条件查询,可以写在搜索页面吗。2个条件必须填写 才能查询出结果
      码农 消费:0元 其他手机 2021-02-01 16:17
      改模板才行
      疯狂石头,临沂 消费:965.11元 其他手机 2021-02-01 16:26
      @码农 模版改成了2个条件了 ,<input type="text" name="keyword" lay-verify="required" placeholder="认证查询" value="" class="layui-input">  
      <input type="text" name="keyword2" lay-verify="required" placeholder="查找编号" value="" class="layui-input">     剩下的就懵圈了
      疯狂石头,临沂 消费:965.11元 其他手机 2021-02-01 16:28
      {volist name="f_array" id="rs"}
      {if (($rs.ifsearch&&in_array($rs.type,['text','textarea']))||in_array($rs.name,['title']))||in_array($rs.name,['p_number'])}
            <input type="radio" name="type" value="{$rs.name}" title="{$rs.title}" {if (($i==1&&empty(input('type')))||input('type')==$rs.name)}checked{/if}>
      {/if}
      {/volist}  我更改了这里没用啊
    0 赏钱 赏礼回复
    更多回复
    恢复多功能编辑器
  • 3 1
  • 推荐内容
    扫一扫访问手机版
    请选择要切换的马甲:

     
    网页即时交流
    QQ咨询
    咨询热线
    020-28998648