I have a simple site I'm working on that displays user-supplied information.
Users fill a form, it's stored in mysql database.
Other users come, look up the active listings, and see the information.
I've recently been playing around trying to learn simplexml, and so have written a page that pulls the active data from the database and puts it into a simplexml file in a private folder. The theory was that it would be safer pulling from a private file than running database calls.
Anyway, I don't expect much more than a hundred listings at a time being active, which will keep the simplexml file relatively small.
My question is, is it quicker/more efficient/ and safer to have PHP pages pulling data from a simplexml file in a private folder than it is to pull from a mysql database?
thanks.