I've looked all over but can't find anything similar to my question.
I have a table like this:
Fleet Name | Vehicle Reg
xxx | w
xxx | x
yyy | y
yyy | z
I've made a dropdown/select which shows xxx & yyy:
SELECT DISTINCT fleet_name FROM eco_drive_table
Now I want to make another dropdown/select which will only show w & x when xxx selected and only show y & z when yyy is selected and then output the vehicle reg as a string
Hope that makes sense,
I'm using PHP.