Hi!
This is my first time in the database forum 
On my website there will be a list of news of what has happened recently. News will be stored in a database (using PHP/MySQL) and only the most recent ones will be shown. So far piece a cake.
Now, heres the problem. Every news will aslo be able to hold a number of images (0-5). Images will be stored in a database table of their own. How would I best store this in the database, since I won't know how many images each news got? I should probably store the images id's with each news, but I won't know how many there are.
And just to clarify, the problem isn't storing the images in my database, but how to link the news to their associated images.
Thanks
lizciz
|