MySQL Query : SELECT si.title as title ,si.url as url,si.thumb as thumb FROM si_imagelinks si , si_imagelinks_data sid WHERE si.catid=348 and sid.id = si.id and sid.custid= order by si.listorder ASC LIMIT 4 MySQL Error : 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 'order by si.listorder ASC LIMIT 4' at line 1 MySQL Errno : 1064 Message : 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 'order by si.listorder ASC LIMIT 4' at line 1 Need Help?