What problems are you encountering when saving your data in arrays? It should be just as possible to do that as use a database. Do you want your data to be persistent? (i.e. continue to exist after the script has finished), if not, I see no reason to use a database.