0

Hi, new to the forum. Im building a site where articles can be created by staff. So is it better to save articles as html files on the server with PHP's file access methods or simply store the whole source code with all the tags in a database (MySQL). It should be accessible via link (without a GET would be nice).

3
Contributors
4
Replies
10
Views
5 Years
Discussion Span
Last Post by runde.bustamante
1

Maybe you could store the articles as files, but keep track of their location, date, title and other searchable items in the database. ...but that depends on how the articles are to be searched and how long you will keep them.

0

So, it would be better to store the code itself in the html file? and use a database to index it? The articles are permenant.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.