title: Need listbox with multiple selection - in yii
body: <p>I need listbox of multiple selection in yii, i have code of form area
  but its saving to database as a word "Array" in field, How to handle
  this problem? </p>
  
  <p>how to get back while view and update and grid view also</p>
  
  <pre><code>&lt;?php echo $form-&gt;dropDownList($model,'clients', 
    CHtml::listData(client::model()-&gt;findAll(array('order'=&gt;'id')), 'id', 'name'),
       array('empty'=&gt;'','multiple'=&gt;'multiple','style'=&gt;'width:400px;','size'=&gt;'10'));
  ?&gt;
  </code></pre>
  
  <p>Thank you.</p>