title: Insert CURRENT_TIMESTAMP with prepared statement
body: <p>I´m inserting data with prepared statements.
  How can I assign a variable to CURRENT_TIMESTAMP and bind the value?</p>
  
  <p>I have a database table with the columns "name, lastfed, lastdoc and id". The 2 columns called lastfed and lastdoc are of type timestamp. 
  I have a function and once I run it I want lastfed and lastdoc to register the current date and time.</p>
  
  <pre><code>$lastfed = CURRENT_TIMESTAMP;
  $lastdoc = CURRENT_TIMESTAMP;
  
  $query = $db-&gt;prepare("INSERT INTO test (`name`, `lastfed`, `lastdoc`, `id`) VALUES (?, ?, ?, ?)");
  
  $query-&gt;bindValue(1, $name);
  $query-&gt;bindValue(2, $lastfed);
  $query-&gt;bindValue(3, $lastdoc);
  $query-&gt;bindValue(4, $user);
  </code></pre>