cakephp find('list') for select box
问题 I am trying to implement selectbox in my site.Option for that selectbox is set in my controller like below $tmp_user = $this->User->find('first',array('id'=>$this->Auth->user('id'))); $zip_info = $this->Zipcode->find('first',array('id'=>@$tmp_user['User']['zip_id'])); $region_admins = $this->AdminRegion->find('all',array('conditions'=>array('AdminRegion.region_id'=>@$zip_info['Zipcode']['region_id']))); if(!empty($region_admins)){ foreach($region_admins as $radmn): //pr($radmn); $admin_user =