Comparing
#48 with
#49
Revision #49 was created by
glicious on Apr 5, 2016, 5:10:42 AM.
Closing brackets at the end of function
Content
[...]
This example will avoid the dropdownlist to be blank when no value, outputing some proper information to the user
```php
<?php echo CHtml::dropDownList('listname', $select,
array('M' => 'Male', 'F' => 'Female'),
array('empty' => '(Select a gender)'));
```
***[...]