TP5 where數組查詢(模糊查詢)(有多個查詢條件)

有查詢條件就查詢,php 多個查詢條件,只要有查詢,就增長一個查詢條件html 1、TP5.1版本sql 模糊查詢thinkphp $where[] = ['title','like',"%".$sotitle."%"]; $map[] = ['name','like','think']; $map[] = ['status','=',1]; //時間查詢 $wheret2[]= ['time
相關文章
相關標籤/搜索