select 1 field and loop in index

hey guys…prefer to display 1 column but i can only display 1 row so what my code is looks like this…

class CustomerController extends Controller


public $firstname=’’;

public function actionIndex()







its only select by primary key, and 1 row…

so why don’t you use DAO ( Nobody forces you to use ActiveRecord in every case…