php 循环向<select>添加选项

在控制器内:$this->assign('data',$data);

原文地址:https://www.cnblogs.com/lsy-ai/p/5055431.html