title: How can I update a value in a view in Yii Framework?
body: <p>Hi I have a question about yii Framework.I want to update a value in view.php and I use the following code in BilgiformuController</p>
  
  <pre><code>public function actionView($id)
      {
          $this-&gt;loadModel($id)-&gt;okunma=1;
          $this-&gt;render('view',array(
              'model'=&gt;$this-&gt;loadModel($id),
  
          ));
      }
  </code></pre>
  
  <p>But the code, I used not working.How can I update "okunma" value in actionView.Thanks</p>