CATEGORIES
						
							SELECT tm.id_sub, ii.itemId, ii.fileLocation
										FROM _treeMenu tm
										LEFT JOIN _itemImages ii ON tm.id = ii.itemId
										WHERE tm.id_sub IN (  ) AND ii.itemId IS NOT NULL
										GROUP BY tm.id_sub ----> 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 ') AND ii.itemId IS NOT NULL
										GROUP BY tm.id_sub' at line 4SELECT id, image_location FROM `_treeMenu` WHERE id IN (  ) ----> 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 ')' at line 1							
						
						
										
                