Is it possible to use PHP to add/remove text from a flat file?
Basically, what I'm attempting to do is have users click to add/remove (manage) songs from a dynamically generated XML playlist.
I've used the file write command to generate a successful XML playlist file, but every time the form data is submitted, it overwrites the entire file.
I want the user to be able to not only add songs, but remove old ones as well.
I've considered simply adding or removing songs from a database table, but how then would I generate the playlist from database information?
PLEASE HELP!
Please send help to: robmarston@hotmail.com -
Thank you!