select boxes update

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
niceguy_reddy
Forum Newbie
Posts: 7
Joined: Fri Feb 04, 2005 9:01 am

select boxes update

Post by niceguy_reddy »

Hi everybody,

I wrote a code which has three select boxes. The first two select boxes contains fields selected from a database. If I select the options from the first two select boxes i should update the third select box with data from the database depending on the options selected from the first two select boxes. How can i do this.

Anil Kumar Reddy.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

there are multiple ways, one is detailed in the tutorial section. Others most often use a submission to refresh the page with information, as this requires the lowest level of support for Javascript (if any, needed)..
Post Reply