jonniejoejonson
Programmer
I am trying to work out when or why I would use xml over a database. I have finally thought of a scenario. I want users to leave other users comments. Therefore instead of storing this in a database as this database would become to big as it would contain all comments for all users, it would be easier to store each users coments to their own xml.
However with a database I can limit the amount of info I get out of
How does one simply write and manipulate an xml file?.
I assume you could use php?
Hoever I can't seem to find a simple way of adding to an xml file without having to open and save the whole file each time. Or simply reading parts of teh xml, not the whole file.
If anyone can tell me if that all this possible, and could recommend any good tutorials that would be much appreciated. Jonnie.
However with a database I can limit the amount of info I get out of
How does one simply write and manipulate an xml file?.
I assume you could use php?
Hoever I can't seem to find a simple way of adding to an xml file without having to open and save the whole file each time. Or simply reading parts of teh xml, not the whole file.
If anyone can tell me if that all this possible, and could recommend any good tutorials that would be much appreciated. Jonnie.