two select tags relates dependently with each other

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
nasm
Forum Newbie
Posts: 1
Joined: Tue Oct 25, 2005 1:25 pm

two select tags relates dependently with each other

Post by nasm »

hi ,all
i m trying two design the page with two select tags, the first tag data gets from databases, after user select the option in first select tag, the second tag must know the selected option from the first tag, consequently option for second tag gets from database. how could it realize? thanks in advance.....
foobar
Forum Regular
Posts: 613
Joined: Wed Sep 28, 2005 10:08 am

Re: two select tags relates dependently with each other

Post by foobar »

nasm wrote:hi ,all
i m trying two design the page with two select tags, the first tag data gets from databases, after user select the option in first select tag, the second tag must know the selected option from the first tag, consequently option for second tag gets from database. how could it realize? thanks in advance.....
AJAX, baby! :D
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

alternately, look at CodeGoblin's tutorial in the Tutorial section of these forums...
User avatar
n00b Saibot
DevNet Resident
Posts: 1452
Joined: Fri Dec 24, 2004 2:59 am
Location: Lucknow, UP, India
Contact:

Post by n00b Saibot »

feyd wrote:alternately, look at CodeGoblin's tutorial in the Tutorial section of these forums...
Where is your re-post counter feyd :) i take this one to be 30th ;)
Post Reply