1064: 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 '?itemid=7917' at line 1
Query failed: select spc.*, item.*, it.Name AS TypeName, ip.Price as ListPrice, ip.Price from item inner join item_types as it on it.ItemTypeId = item.ItemTypeId inner join item_price as ip on ip.ItemId = item.ItemId inner join price_types as pt on pt.PriceTypeId = ip.PriceTypeId and pt.Online = 1 left join item_spec as spc on spc.DPI = item.DPI where item.ItemId = 7917?itemid=7917