Dragen Posted June 26, 2007 Share Posted June 26, 2007 I'm writing a news script, where I can write articles and have them outputted on my homepage. What I'm wondering before I start is; does anyone have any advice whether something like this would be better of stored in a database or flat files? Some articles could be quite long and I just thought they may be better suited stored in a .txt file for instance, but then again it might not make any difference. Anyway.. just some advice please. Thanks Link to comment https://forums.phpfreaks.com/topic/57275-database-or-flat-file-based/ Share on other sites More sharing options...
trq Posted June 26, 2007 Share Posted June 26, 2007 Personally, if there is a database available, I always use it. It makes alot of tasks much simpler in the end. Link to comment https://forums.phpfreaks.com/topic/57275-database-or-flat-file-based/#findComment-283100 Share on other sites More sharing options...
Dragen Posted June 26, 2007 Author Share Posted June 26, 2007 I was kind of thinking that as It would be easier to search for articles by id, date, name, etc etc.. Link to comment https://forums.phpfreaks.com/topic/57275-database-or-flat-file-based/#findComment-283102 Share on other sites More sharing options...
aim25 Posted June 26, 2007 Share Posted June 26, 2007 I think you would be better off with a database, becuase you can store a lot of different information about an article with out a whole lot of extensive coding. Link to comment https://forums.phpfreaks.com/topic/57275-database-or-flat-file-based/#findComment-283105 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.