Hi all,
Little while since i've done any PHP but am needing to create a couple of pages for a project.
Basically what I want to do is to have 2/3 drop down boxes on a page which are all populated from entries in 2/3 different tables.
When a value in the first drop down box is selected, it'll pull the relevant fields from the next table and put them into the next drop down box and so on.
Possibly a little easier to explain in context. Drop down 1 will select an Office, once selected the applicable buildings for that office are available in Drop down 2. From those options, once a selection is made, the applicable floors for that building are shown in drop down 3.
Hopefully someone can understand that and point me in the right direction as i've never really looked at nested drop-downs etc.
Cheers
Andy
Little while since i've done any PHP but am needing to create a couple of pages for a project.
Basically what I want to do is to have 2/3 drop down boxes on a page which are all populated from entries in 2/3 different tables.
When a value in the first drop down box is selected, it'll pull the relevant fields from the next table and put them into the next drop down box and so on.
Possibly a little easier to explain in context. Drop down 1 will select an Office, once selected the applicable buildings for that office are available in Drop down 2. From those options, once a selection is made, the applicable floors for that building are shown in drop down 3.
Hopefully someone can understand that and point me in the right direction as i've never really looked at nested drop-downs etc.
Cheers

Andy