MySQL Table Layout
I'm working on a CMS for files, to be exact, game mods (similar to expansions). I could not find a CMS just or files that I could easily tailor to meet my own needs so I decided to make one. I need to be able to store the names of the files, the authors, the dates released, dates updated, version numbers, descriptions, links to multiple files, links to mirror sites, and image links. The problem is that The number of images and files can vary from 1 or none to 20. I was planning on having several columns but I was thinking, would it be more efficient and easier to have separate tables for all of the files?
Basically, I need to know how to layout my database. Also, if you suggest I have separate tables, how do I list tables with the mysql_query() function? And how would I go about selecting them? Listing them? I think it is much easier to have several columns and just have a image and file limit of 20 or something. Opinions please.
Edit:
Is there no one that has an opinion about this?:dunno:
I'm working on a CMS for files, to be exact, game mods (similar to expansions). I could not find a CMS just or files that I could easily tailor to meet my own needs so I decided to make one. I need to be able to store the names of the files, the authors, the dates released, dates updated, version numbers, descriptions, links to multiple files, links to mirror sites, and image links. The problem is that The number of images and files can vary from 1 or none to 20. I was planning on having several columns but I was thinking, would it be more efficient and easier to have separate tables for all of the files?
Basically, I need to know how to layout my database. Also, if you suggest I have separate tables, how do I list tables with the mysql_query() function? And how would I go about selecting them? Listing them? I think it is much easier to have several columns and just have a image and file limit of 20 or something. Opinions please.
Edit:
Is there no one that has an opinion about this?:dunno:
Last edited: