Error Number: 1064
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 sort ASC' at line 1
SELECT id, name, title_en AS title FROM page_photo WHERE page_id = ORDER BY sort ASC
Filename: C:\Domains\raminapomorstvo.hr\wwwroot\system\database\DB_driver.php
Line Number: 330