Hi,
Here are some ideas:
You might try an INI file:
Also, here are several other inventory implementations listed by PixelRebirth:
Another one (I think modified off the adventure tut):
Keep in mind that there are pros and cons of using a simple text file to store your inventory. It is easier to work with than arrays but easier for a player to edit. If you make an "array helper" as I did the adventure tutorial then you still can store all of your stats in the text file and then convert to an array before sending out your game. It makes it a little harder for players to "cheat" and it is easier to access items in the array. Without the "array helper" though it would be a pain to populate the array.
I think arrays are pretty intuitive overall so if you have any questions on them or don't fully understand them then feel free to shoot questions our way!