Last SQL Query:
select * from gallery_images where galleryId= order by position
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 position' at line 1