天天看點

thinkphp where中or多個like模糊搜尋

$where['m_username|mnickname'] = array('like', "%{$keyword}%", 'or');

thinkphp where中or多個like模糊搜尋

['name|seo_title|keywords|description|desc|introduce_text|tags' => ['like', "%$term%",'or']]

程式員工具:https://www.toolnb.com/toolslist/14.html