title: Handling checkboxes in yii
body: <p>I have a module in YII to generate contacts.
  I have generated checkboxes for each row of the contact list using widget in my admin page.</p>
  
  <pre><code>&lt;?php
  $this-&gt;widget('zii.widgets.grid.CGridView', array(
  'id'=&gt;'menu-grid',
  'dataProvider'=&gt;$model-&gt;search(),
  'filter'=&gt;$model,
  'columns'=&gt;array(
  array(
  'id'=&gt;'autoId',
  'class'=&gt;'CCheckBoxColumn',
  'selectableRows' =&gt; '50',
  ),
  'fname',
  'lname',
  'email',
  'mobile'  
  'address',
  array(
  'class'=&gt;'CButtonColumn',
  ),
  ),
  )); ?&gt;
  </code></pre>
  
  <p>I want to create a submit button on this page which saves all the mobile values of the checked rows into database. How do I handle this?</p>