Original Post
Hey all, I'm currently designing a text-based strategy type game in php using postgresql because my college webspace uses php and postgresql and its free for me ( well, not really, 18,000/yr for college :( ) Anyways, besides financial misfortune, i'm trying to figure out how i'm going to store game data in a database, since lots of the information will be very dynamic ( with the player owning anywhere from 20 to possibly 100's of entities ) So, whats a good approach? I was thinking of having a column in a database table called 'gamedata' or something like that, and it would hold a string that described the player and their items. But i think i read that the limit of character strings in postgresql is like 255 bytes. So that wouldn't work - or maybe I could break it up into several strings? But i don't like that solution, what if I need more space than however many columns I have? I'm not sure how big the players data will grow. Anyone have experience with this? I don't want to have one column per player-owned-item because that would be bad. -Steve