I have a shop with some products, which are available in different packages.
Let's say:
product1 is available in package1, package2, package4,
product2 is available only in package2,
product3 is available in package3 and package4.
I would like to display the drop down menu with available packages for the chosen product, so the customer could select the available package.
Could anyone describe what is the best way to create tables in mysql and then connect it with the php.
I am still learning, so I would be really grateful if anyone could write the exact details and some piece of code.
Thank you
dinamic dropdown
Moderator: General Moderators