CHtml::listBox() function is used for creating ListBox in yii framework. This post will help you to understand about how to create ListBox in different method, How to assign value, how to get ListBox value in controller, ListBox value from database in yii framework.SyntaxListBoxStatic Values For ListBoxListBox Values From DatabaseListbox GroupListbox Values In ControllerSyntax public static string activeListBox(CModel $model, string $attribute, array $data, array $htmlOptions=array ( )) [OR] public static string […]... Read More »