Array
(
[0] => SET NAMES utf8mb4
[1] => SELECT id FROM ucms_news where (cid='25') and isok=1 AND id< order by aorder desc,shijian desc limit 0,1
)
Array
(
[0] => D:\wwwroot\hybridrice.com.cn\index.php line:11 class:->match_route
[1] => D:\wwwroot\hybridrice.com.cn\inc\func.php line:1951 class:->init_route
[2] => D:\wwwroot\hybridrice.com.cn\inc\func.php line:2023 class:->include
[3] => D:\wwwroot\hybridrice.com.cn\cache\template\af5c\a668\204fcd6fcfd279f91364.html line:52 class:->a
[4] => D:\wwwroot\hybridrice.com.cn\inc\func.php line:4 class:->alist
[5] => D:\wwwroot\hybridrice.com.cn\inc\func.php line:353 class:db->query
[6] => D:\wwwroot\hybridrice.com.cn\inc\func.php line:1583 class:db->errorMessage
)
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 aorder desc,shijian desc limit 0,1' at line 1Array
(
[0] => SET NAMES utf8mb4
[1] => SELECT id FROM ucms_news where (cid='25') and isok=1 AND id< order by aorder desc,shijian desc limit 0,1
[2] => SELECT id,title,cid FROM ucms_news where id in(0) order by aorder desc,shijian desc
[3] => SELECT id FROM ucms_news where (cid='25') and isok=1 AND id> order by aorder desc,shijian asc limit 0,1
)
Array
(
[0] => D:\wwwroot\hybridrice.com.cn\index.php line:11 class:->match_route
[1] => D:\wwwroot\hybridrice.com.cn\inc\func.php line:1951 class:->init_route
[2] => D:\wwwroot\hybridrice.com.cn\inc\func.php line:2023 class:->include
[3] => D:\wwwroot\hybridrice.com.cn\cache\template\af5c\a668\204fcd6fcfd279f91364.html line:53 class:->a
[4] => D:\wwwroot\hybridrice.com.cn\inc\func.php line:4 class:->alist
[5] => D:\wwwroot\hybridrice.com.cn\inc\func.php line:353 class:db->query
[6] => D:\wwwroot\hybridrice.com.cn\inc\func.php line:1583 class:db->errorMessage
)
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 aorder desc,shijian asc limit 0,1' at line 1