tp6, assign value to variable, query database with multiple conditions
sadada
sadada 2020-03-17 19:18:03
0
1
1348

$where = "BETWEEN January 1 AND February 1";

As per the question, how do I use tp6's where() query after assigning a value to a variable?

sadada
sadada

reply all(1)
别被风景迷了眼

where(['field name'=>['between',['start time','end time']]]);

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!