JPBaseball1322
02 Apr 2010, 05:54 PM
Hi all, I'm new here and looking for myself. I have a project to design a website that acts as a photo album using php and mysql. I'm struggling on how to get started. Essentially I have determined that I have 3 things to accomplish to get started.
1) Determine my database schema--- So I believe I need to create 3 tables here. One will be an albums table containing the album ID, title, date created and date modified. My second will be a photos table containing the photo ID, title, a caption and the album it belongs to. The third I believe needs to be something to relate the two tables. This I'm not sure how to do. Any suggestions.
2) Create tables and upload some pictures- This I think I can do once I figure out the full schema
3) Write code to display pictures that are stored in the database on my website.
I'm not looking for someone to do this work for me. I'm just looking for some suggestions so that I can do my best to finish this and LEARN what I have done. Any help would be greatly appreciated. Thank you so much for your time and effort.
1) Determine my database schema--- So I believe I need to create 3 tables here. One will be an albums table containing the album ID, title, date created and date modified. My second will be a photos table containing the photo ID, title, a caption and the album it belongs to. The third I believe needs to be something to relate the two tables. This I'm not sure how to do. Any suggestions.
2) Create tables and upload some pictures- This I think I can do once I figure out the full schema
3) Write code to display pictures that are stored in the database on my website.
I'm not looking for someone to do this work for me. I'm just looking for some suggestions so that I can do my best to finish this and LEARN what I have done. Any help would be greatly appreciated. Thank you so much for your time and effort.