SQL 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 'Raptor'%' GROUP BY i.entry ORDER BY patch DESC LIMIT 500' at line 10 at /var/www/classicdb/items.php line 36
Array
(
    [code] => 1064
    [message] => 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 'Raptor'%'
		  GROUP BY i.entry ORDER BY patch DESC LIMIT 500' at line 10
    [query] => 
		SELECT `displayid`, `name`, `quality`, `iconname`, `InventoryType`, `ItemLevel`, `RequiredLevel`, `class`, `subclass`, `stackable`, `BuyPrice`, `armor`, `dmg_type1`, `dmg_min1`, `dmg_max1`, `delay`, `dmg_type2`, `dmg_min2`, `dmg_max2`, `ContainerSlots`, `requiredhonorrank`, `AllowableClass`, i.entry, maxcount, content_phase 
			
		FROM classicdb.aowow_icons, item_template i
			
		WHERE
			id=displayid
			  AND class = '15'  
			  AND subclass = '-4'  
			
			 AND name LIKE '%'Raptor'%'
		  GROUP BY i.entry ORDER BY patch DESC LIMIT 500  
		
    [context] => /var/www/classicdb/items.php line 36
)