alpha1 Posted November 15, 2011 Share Posted November 15, 2011 hi, baiscally i have a products that go into the products mysql and get called by php but with each product there are different options, e.g. mens jumper - comes in sizes m,l,xl,xxl mens jeans might only come in s, m, l shoes are in 6,7,8,9,10,11 my question is how do i make a drop down list different for each product, when there all in the same db, if some one can reccomend a tutorial or a concept, i would really appreciate it thank you Link to comment https://forums.phpfreaks.com/topic/251202-dont-know-how-to-create-a-drop-down-box-different-for-each-product/ Share on other sites More sharing options...
freelance84 Posted November 15, 2011 Share Posted November 15, 2011 Sounds like you need some AJAX working there. onchange... Link to comment https://forums.phpfreaks.com/topic/251202-dont-know-how-to-create-a-drop-down-box-different-for-each-product/#findComment-1288410 Share on other sites More sharing options...
jotorres1 Posted November 15, 2011 Share Posted November 15, 2011 With the product ID, you should have a product ID, and with that id, be able to tell what are the predefined sizes for that product. Link to comment https://forums.phpfreaks.com/topic/251202-dont-know-how-to-create-a-drop-down-box-different-for-each-product/#findComment-1288431 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.