Array
(
[0] => SET NAMES utf8mb4
[1] => SELECT id FROM ucms_products where (cid='20') and isok=1 AND pic<>'' AND id<> order by shijian desc,aorder desc,id desc limit 0,10
)
Array
(
[0] => D:\wwwroot\www.whapr.com\index.php line:11 class:->match_route
[1] => D:\wwwroot\www.whapr.com\inc\func.php line:1951 class:->init_route
[2] => D:\wwwroot\www.whapr.com\inc\func.php line:2023 class:->include
[3] => D:\wwwroot\www.whapr.com\cache\template\d679\a0ec\7d48f7b0b225e570b32e.html line:150 class:->alist
[4] => D:\wwwroot\www.whapr.com\inc\func.php line:353 class:db->query
[5] => D:\wwwroot\www.whapr.com\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 shijian desc,aorder desc,id desc limit 0,10' at line 1