title: Try update database row
body: <p>I try to update 2 rows on database get the values from coockies , for this i use rawquery, so i can use the value out side but it seems i have a syntax error on my code.
  This is my error
  I work in phprad system , Bootstrap.
  After to edit and post here again by remove the double quates i continue get same error</p>
  <blockquote>
  <p>syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting '-' or identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING)</p>
  </blockquote>
  <p>This is my code to update i rebuild it with out double quotes</p>
  <pre><code>//execute SQL statement and return the result
  $params = array($rec_id);
  $bool   = $db-&gt;rawQuery(&quot;UPDATE drvmarkers SET lat = $_COOKIE['Lat'] WHERE id = ?&quot;, $params);
  
  //execute SQL statement and return the result
  $params = array($rec_id);
  $bool   = $db-&gt;rawQuery(&quot;UPDATE drvmarkers SET lng = $_COOKIE['Long'] WHERE id = ?&quot;, $params);
  </code></pre>