Hi
This isn't specifically a php issue, but i would be using php for the project...
i am creating a site where people can upload articles, photos, docs etc - thing is, I want to keep everything as its own entity and use tables to link articles to images etc... the only commonality is the userid, which will be attached to each file uploaded by a user... be it an article or an image
I want a user to be able to 'attach' a file to an article, but i want to use auto_increment for the files in the DB, but will need to retrieve the id assigned to the file, so that i can insert it into the link table between articles and other files...?! that sounded confusing...
help!?