查證後…用字串的日期比對,會比用BETWEEN…AND 語法,來得有效率. 例如… $sqlCondition .= "AND a.publishDate >= '" . sqlStr($beginDate) . " 00:00:00' ";
確定! 回上一頁