Jump to content

Help with drop downmenu!


d0ds™

Recommended Posts

Hello guys! here I am again!

 

I've done my system working, now I have a problem with this approached.

query.png

 

somebody help me what script I would use to populate the content of the second drop down menu with mysql query, to be available when I select some Artist name from the first drop down menu.

 

the content of the second drop down menu should be the list of the album of an artist I select from the first drop down menu!

 

please help me!

 

Thank you very much!

Link to comment
https://forums.phpfreaks.com/topic/193857-help-with-drop-downmenu/
Share on other sites

I just recently found a good (AJAX-PHP) script here:

 

http://www.plus2net.com/php_tutorial/php_drop_down_list.php

 

Has good working example/sql dump for ez testing...

 

I had to figure out for myself how to get the actual values to print in the second script though... if you need that info here's my post:

http://www.phpfreaks.com/forums/index.php/topic,287884.msg1366082.html

I can give you an example that does the states then populates a second drop with cities. I used prototype for it. I do however use flat files as I have no desire to spend the time needed to put 45K+ cities into a DB. But the basic construction is there for two drops.

 

 

HTH

Teamatomic

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.