Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Matthew Polland
9,652 Pointsto sql or not to sql
I'm building a website that has a choose your own adventure component to it. I'm already using a database to save player info. It will have a lot of text that is static and divided into chunks. Would it be better practice to save this text in a new database or in an array inside the website files?
1 Answer
John MacDonald
8,593 PointsHey Matthew,
An Array would be good but as time goes on it will build up and become more and more cumbersome and harder to maintain players info. There a database would come in handy as you are able to manage columns and rows with ease.
Hope this helps,
/n/n John