慢慢磨合吧
为什么非得当了程序员再找女朋友呢??先找女朋友再当程序员就好啦,哎,真不明白你们
<?php echo $form->dropDownList($model,'category',array('key1'=>'value1','key2'=>'value2')); ?>