the xml file is to be loaded into an mp3 player, so I'm ok with the info for the xml to be stored on the DB and just be called whenever the player is initialized. My problem is, I have tried 3 different DOM scripts, and I can't get any of them working, of course I modified them to suit my setup, but I just couldn't get them to work, another thing, since I am relatively new to all of this, do I insert the xml writing script inside the parsing for the mp3 upload, or do I put it somewhere else in the php code.
and one last thing, in the DB for the mp3 upload, the table has these rows, mp3_id(int, auto increment, primary), username, mp3_title, mp3_url, mp3_date.
now obviously the date doesn't need to be shown in the flash player, but my question is, how do I handle the auto increment of the mp3_id, can I make it member specific?, cause my concern is, lets say John uploads 5 mp3 files on his page, they'll be numbered 1-5, then tom uploads 3 mp3 files on his page, they'll be numbered 6-8 and so on, so how would I reflect this for each member in their own xml file. each one will be under their username in the db, but I just don't know how to output the increment values for each xml.