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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.