title: Can't create button in cgridview in yii
body: <p>following is my code in view but i am unable to create button in cgridview </p>
  
  <pre><code>   &lt;?php echo CHtml::link('Advanced Search','#',array('class'=&gt;'search-button')); ?&gt;
      &lt;div class="search-form" style="display:none"&gt;
      &lt;?php $this-&gt;renderPartial('_search',array(
  'model'=&gt;$model,
        )); ?&gt;
      &lt;/div&gt;&lt;!-- search-form --&gt;
  
      &lt;?php $this-&gt;widget('zii.widgets.grid.CGridView', array(
  'id'=&gt;'product-grid',
  'dataProvider'=&gt;$model-&gt;countregister($_GET['id']),
  'enablePagination' =&gt; true,
  'filter'=&gt;$model,
  'columns'=&gt;array(
  
      'name',
      'email',
  
  
  
  
  
      array(
          'class'=&gt;'CButtonColumn',
          'template'=&gt;'{Register}{update}{view}',
  
          'buttons'=&gt;array(
                 'Register'=&gt;array(
                 'label'=&gt;'Register',
                 'url'=&gt;Yii::app()-&gt;createUrl('register/create',array(
                  'id'=&gt;$_GET['id'],
                 'rid'=&gt;$_GET['rid']
                 ))
                )
                 ),
  
      ),
  
      ),
       )); ?&gt;
  </code></pre>
  
  <p>passed rid to query string
   i am getting this error</p>
  
  <pre><code>  Parse error: syntax error, unexpected '/' in D:\wamp\www\yii\framework\base\CComponent.php(612) : eval()'d               code on line 1
  </code></pre>
  
  <p>the register button appears with the above error but if click doesnt go to the specified URL</p>
  
  <p>PLEASE  HELP let me know how can i make up</p>