Jump to content

Dropdown problem


timbodude

Recommended Posts

Hi Guys,

I've been pulling my hair out regarding this peoblem. Hope you can help.

 

On my webpage I have 4 html dropdowns and 2 html textboxs.

 

What I need to do is populate the 2nd dropdown from the results of the first, populate the 3rd dropdown from the results of the 2nd and finally populate the 2 textboxs from the results of the 4th dropdown.

So far I have been using the $_POST variable to send back to some PHP functions to populate the dropdowns.

To make the dropdowns remember the last selection i've been using 'echo $_POST[' ']' just to show what the user choose before.

 

My question is; is there a more simple way of doing this because its getting pretty messy.

I've been looking at AJAX but i really dont wanna go there just yet.

 

Hope you help

TIM

Link to comment
https://forums.phpfreaks.com/topic/238106-dropdown-problem/
Share on other sites

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.