Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
The script is a mini client upload management system where the admin uploads a file to a user's directory. That's pretty simple if there is one user.
I have multiple users in which I have to create multiple directories for and upload files into their directories. Each upload will put a new directory inside their user folder (which the dir will be named after the auto-increment ID of the row itself).
I am really confused at how to do this.
I have one table setup "storage" for all the users and their files but that can't be right. I wouldn't be able to auto-id every upload to each user specifically this way. I want every user to start with row 1, 2, 3, etc.
I guess that's pretty much the question. How would I go about doing this? I know this may seem confusing or vague but I'm just that new at this :)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: OT: planning out mysql structure
by VSarkiss (Monsignor) on Aug 30, 2006 at 15:10 UTC | |
Re: OT: planning out mysql structure
by talexb (Chancellor) on Aug 30, 2006 at 15:19 UTC | |
Re: OT: planning out mysql structure
by planetscape (Chancellor) on Aug 30, 2006 at 17:26 UTC |