Christophe27
01-10-2010, 10:10 AM
Hi,
For the moment I'm learning PHP and MySQL and I have a MySQL question.
I'm creating a website where people simply can registrate and upload images. Now I wonder how I should design my database. I already have a 'user' table with columns like id, name, email, etc.
Do I need another table named 'images' where I can store the names and captions of the images (probably yes), but how can I assign the images from a certain user to the particular user? And how and where to store the images on the server?
Thank you! :)
Best,
Christophe
For the moment I'm learning PHP and MySQL and I have a MySQL question.
I'm creating a website where people simply can registrate and upload images. Now I wonder how I should design my database. I already have a 'user' table with columns like id, name, email, etc.
Do I need another table named 'images' where I can store the names and captions of the images (probably yes), but how can I assign the images from a certain user to the particular user? And how and where to store the images on the server?
Thank you! :)
Best,
Christophe