An error occurred!Can't execute statement: 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 'and worldcities.regionid = '' and worldcities.countryid = '' and worldregions.co' at line 1

SQL: select * from categories where catid = '2' order by category