title: How can I update TIMESTAMP with Codeigniter and MySQL?
body: <p>How can I update TIMESTAMP with Codeigniter and MySQL? I want to update with <code>INTERVAL 1 MINUTE</code>
  I've tried the next code:</p>
  
  <pre><code>$data = array('is_active' =&gt; $state, 
                'timestamp_demo' =&gt; "DATE_ADD(NOW(), INTERVAL 1 MINUTE)");
  $this-&gt;db-&gt;where('demo_session_id', 'web');
  $this-&gt;db-&gt;update('demo_session', $data);
  </code></pre>
  
  <p>But not work. How can I do? </p>