請問下面的mysql程式哪裡有誤

edited 十月 2013 in 資料庫
請問下面的mysql程式哪裡有誤?

$D1 = date("Y-m-d G:i:s", strtotime("-1 week",time()));

$SQLStr_at = "SELECT *,IF(inputdate>last_reply,inputdate,last_reply)AS bigDate FROM article_subject WHERE `bigDate`>='".$D1."' ORDER BY by `hits_num` DESC LIMIT 5;";

謝謝

原始討論: http://twpug.net/x/modules/newbb/viewtopic.php?topic_id=4005

評論

Sign In or Register to comment.