dinamic dropdown

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
stealth
Forum Newbie
Posts: 1
Joined: Mon Jun 21, 2004 10:24 am

dinamic dropdown

Post by stealth »

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
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Grim...
DevNet Resident
Posts: 1445
Joined: Tue May 18, 2004 5:32 am
Location: London, UK

Post by Grim... »

It very hard if you spell 'dynamic' wrong :)
Post Reply