hey;
I'm creating a image database. I want each user to register, login and be able to upload images. I however, do not know if each user needs to have their own database for images to be stored in or if I can grab the image via foreign ids from one big database. I don't want users to open their album and see someone elses images... that wouldn't be good! Any help is appreciated!!
the_programmer
0
Newbie Poster
Recommended Answers
Jump to PostI think you can easily use just one table to store the images, or better yet, filepaths to images that you save in an directory on your filesystem.
Then, just have a foreign key in your images table that references your user accounts table. When a user wants to …
All 3 Replies
vjwilson
21
Newbie Poster
jbennet
commented:
good advice
+21
the_programmer
0
Newbie Poster
vjwilson
21
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.