Hi, I am building a Flash RPG game and using PHP/MySQL for storage/sss. When the player logs onto a character, I want to load their inventory. I have 2 tables, in my database, items and characters. Characters have 20 slots with id numbers of an item in the items table. I then load the item info from the slot. Here is my current code:
(sorry, it’s huge so I had to upload it)
text-upload.com/read,3849516065625
Is there an easier way to load the data? I have tried using loops but have not been able to get it to work…
Thanks!