Yii adding dynamic data to a drop down list
Here we will be looking at how to add dynamic data (entries fro ma database table) to a drop down list using Yii?s Chtml listData. Let?s imagine that we have a database table called countries and we want to add a drop down list menu to our view which displays the country name and passes … [Read more…]