View Single Post
Old 06-10-2008, 01:08 PM   #3 (permalink)
Village Idiot
Wizard
Top Contributor 
 
Village Idiot's Avatar
 
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
Village Idiot is on a distinguished road
Default

Have your file structre like
ID
User_ID
File_Name

That way they can upload as many files as they need and they are linked. You could then either left join that table on users.id = files.User_ID or seperately query everything where the files user_id is equal to the users ID.

Also, dont store files in the database like that. It will slow everything down and will be in no way shape or form more efficient.
__________________

Village Idiot is offline  
Reply With Quote