为什么这个代码...
$curr_time = new DateTime();
$query_inprocess = "UPDATE `MyTable`
SET inprocess=1
WHERE startTime <= '" .$curr_time->format('Y-m-d H:i') . "'";
...导致错误的 SQL 查询,其中后面的语句<
被忽略?
UPDATE `MyTable` SET inprocess=1 WHERE startTime <