Error running function menu with sql syntax like select page_id, page_title from pages where home_page_id = order by sort_idgiving errorYou 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_id' at line 1