Home > Q&A > body text
$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?
别被风景迷了眼2020-03-23 16:04:07
where(['field name'=>['between',['start time','end time']]]);