jay0316 Posted April 29, 2010 Share Posted April 29, 2010 We are uploading product videos to youtube. On our site we have our product info stored in a database. There are a couple products that have more than one video. I'm wondering if I should store them in the record with the item. Or if they should be stored in a separate table with the item id and video id. We may eventually have some training videos etc. that could apply to several items. Any suggestions? Link to comment https://forums.phpfreaks.com/topic/200171-storing-youtube-video-ids/ Share on other sites More sharing options...
jdavidbakr Posted April 29, 2010 Share Posted April 29, 2010 If you're likely going to have a varying number of videos for each product, you're definitely better off if you create a separate table and link to the item via a foreign key as you described. Link to comment https://forums.phpfreaks.com/topic/200171-storing-youtube-video-ids/#findComment-1050606 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.