title: Sql syntax error using UPDATE database query
body: <p>evening all, i have an issue with a syntax sql error</p>
  
  <pre><code>You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'where username = danny (name, url, banner, description, sponsor, date, password)' at line 1
  </code></pre>
  
  <p>Here is my code</p>
  
  <pre><code>$query = "UPDATE websites where username = $login_session (name, url, banner, description, sponsor, date, password) VALUES ('$n', '$b', '$d', '0', now(), SHA('$p'))";
  </code></pre>