how to create a attribute which is an array

is this possible

<?php echo CHtml::activeDropDownList($form,'questiontype[0]',$data4);?>

<?php echo CHtml::activeDropDownList($form,'questiontype[1]',$data4);?>

<?php echo CHtml::activeDropDownList($form,'questiontype[2]',$data4);?>

do someone tell me

I don't see a reason why it won't.

i am getting error in model form as it is not declared

What's the exact error?

You can’t use activeDropDownList($form,‘questiontype[0]’… which is meant to be used for tabular data input (i.e., you have multiple models).

You will need to manually generate these dropdown lists (mainly to deal with naming the dropdown lists and populating the selected values)

hello qiang explain me further detaily plz…how do i create multiple dropdownlist