Array
(
[0] => SET NAMES utf8mb4
[1] => SELECT id FROM ucms_service where (cid='63') and isok=1 AND id< order by aorder desc,id desc limit 0,1
)
Array
(
[0] => D:\wwwroot\www.ylhd.com.cn\index.php line:11 class:->match_route
[1] => D:\wwwroot\www.ylhd.com.cn\inc\func.php line:1951 class:->init_route
[2] => D:\wwwroot\www.ylhd.com.cn\inc\func.php line:2023 class:->include
[3] => D:\wwwroot\www.ylhd.com.cn\cache\template\2ff7\082e\14dbe47ab28406c8c319.html line:52 class:->a
[4] => D:\wwwroot\www.ylhd.com.cn\inc\func.php line:4 class:->alist
[5] => D:\wwwroot\www.ylhd.com.cn\inc\func.php line:353 class:db->query
[6] => D:\wwwroot\www.ylhd.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,id desc limit 0,1' at line 1Array
(
[0] => SET NAMES utf8mb4
[1] => SELECT id FROM ucms_service where (cid='63') and isok=1 AND id< order by aorder desc,id desc limit 0,1
[2] => SELECT id,title,cid FROM ucms_service where id in(0) order by aorder desc,id desc
[3] => SELECT id FROM ucms_service where (cid='63') and isok=1 AND id> order by aorder desc,id asc limit 0,1
)
Array
(
[0] => D:\wwwroot\www.ylhd.com.cn\index.php line:11 class:->match_route
[1] => D:\wwwroot\www.ylhd.com.cn\inc\func.php line:1951 class:->init_route
[2] => D:\wwwroot\www.ylhd.com.cn\inc\func.php line:2023 class:->include
[3] => D:\wwwroot\www.ylhd.com.cn\cache\template\2ff7\082e\14dbe47ab28406c8c319.html line:53 class:->a
[4] => D:\wwwroot\www.ylhd.com.cn\inc\func.php line:4 class:->alist
[5] => D:\wwwroot\www.ylhd.com.cn\inc\func.php line:353 class:db->query
[6] => D:\wwwroot\www.ylhd.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,id asc limit 0,1' at line 1