YII, form simple drop down <?php echo $form->dropDownList($model, ‘sex’, array(‘1’ => ‘male’, ‘2’ => ‘female’), array(’empty’ => ‘Select one of the following…’)); ?>
PHP, LARAVEL, YII, HTML, CSS. TECH BLOG !
YII, form simple drop down <?php echo $form->dropDownList($model, ‘sex’, array(‘1’ => ‘male’, ‘2’ => ‘female’), array(’empty’ => ‘Select one of the following…’)); ?>