|
I've done this at just about every gig I've had...it's cool. What you have to do is have the 3 <select> menus in html, with only the first, states, being populated directly by the PHP. The other 2 are blank. The PHP also builds the multidimensional arrays which, will have the qualities as follows:
myarray["New York"]["Orange"]["Albany"];
myarray["New York"]["Orange"]["Schenectady"];
myarray["New York"]["Jefferson"]["Watertown"];
Each state is declared an array, as is each county. Then use the new Option javascript to run through the arrays to populate onChange of the state select menu.
HTH,
Mike
|