I'm making more item types other than a primary weapon, secondary weapon and armor. When editing the inventory.php on line 7 (for me) where it does the db query - SELECT * FROM items WHERE itmid IN...... I added the new {$ir['equip_blank']} and when I save the code and test it i get this error
QUERY ERROR: 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 ' 0, 0, 0)' at line 1
Query was SELECT * FROM items WHERE itmid IN(, 0, 0, 0)
So this maybe a really noob question but I cant find away around it and my last resort was to ask you guys.
I notice the (, 0, 0, 0) at the end is missing a zero were the new {$ir['equip_blank']} is at. Where do I add to the db so that it properly sees it and I'm assuming should look like this when it is correct (0, 0, 0, 0).
Thanks in advance