Hi there cakephp experts! I am looking for you help on a dyanmic dropdown list with dyanamic optgroup. Suppose I have two tables:
countries: id, country_name,
counties: id, county_name, country_id
Now, I want to display a dropdown list with optgroups populated frm countries table and list items populated from counties.
country_name1
county_name1
county_name2
country_name2
county_name3
county_name4
country_name3
county_name4
county_name5
.......
Thanks in advance and appreciate any help!!