20.05.2017, 11:48
Here is something you can try. Create a table called skins. Add two columns, userid, skinid, purcahsed. When someone unlocks a skin, Add a new entry to the table and set the purchased to false. When he purchases it, Set the purchased to true. When you want to read data, You can select * from skins where userid = `playeruserid` and then store it in an array.