Array ( [0] => 42000 [1] => 1064 [2] => You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '%60timemodify%60%20desc limit 0 ,20' at line 1 ) [ select * from car where (not (`picmain`=unhex(''))) and (1) and (`mode`=unhex('31')) order by %60timemodify%60%20desc limit 0 ,20 ]