SELECT a.folder_id,content_name FROM site_folder AS a, site_page, site_folder_content WHERE folder_order > 0 AND folder_id = content_folder_id AND folder_hidden = "1" AND folder_active = "1" AND folder_parent_folder_id=0 AND folder_site_id = GROUP BY folder_id
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 'GROUP BY folder_id' at line 9
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /var/www/ivcf.ca/ivcf/menu/menu_items.php on line 130
var MENU_ITEMS = [];