Fatal error: Uncaught Exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by chapterorder desc limit 1' at line 1 query: SELECT articleid,chapterid,chaptername,size,lastupdate,chaptertype,chapterorder from jieqi_article_chapter_33 where chaptertype=0 and articleid = 80133 and chapterorder < order by chapterorder desc limit 1 in D:\wwwroot\m.dxs.tw\inc\sql\MysqliDb.php:2022
Stack trace:
#0 D:\wwwroot\m.dxs.tw\inc\sql\MysqliDb.php(561): MysqliDb->_prepareQuery()
#1 D:\wwwroot\m.dxs.tw\app\function.php(323): MysqliDb->rawQuery('SELECT articlei...')
#2 D:\wwwroot\m.dxs.tw\app\home\chapter.php(37): contentodata('80133', 0, 3600)
#3 {main}
thrown in D:\wwwroot\m.dxs.tw\inc\sql\MysqliDb.php on line 2022