【发布时间】:2009-12-09 13:44:48
【问题描述】:
您好 cakephp 专家!我正在使用动态 optgroup 为动态下拉列表寻求您的帮助。假设我有两张桌子:
countries: id, country_name,
counties: id, county_name, country_id
现在,我想显示一个下拉列表,其中包含 optgroups 填充的 frm 国家表和列表项填充的县。
country_name1
county_name1
county_name2
country_name2
county_name3
county_name4
country_name3
county_name4
county_name5
.......
在此先感谢您的帮助!
【问题讨论】:
标签: cakephp