title: error in your SQL syntax;check the manual that corresponds to your MariaDB server version for the right syntax
body: <p>I am trying to update values to the database using the query given below, but unfortunately the following error occurs. Help me with this !</p>
  
  <p>Error: UPDATE internal_marks marks='11' WHERE sno='1';
  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 '='11' WHERE sno='1'' at line 1</p>
  
  <pre><code>$sql = "UPDATE internal_marks marks='".$one."' WHERE sno='1'";
  </code></pre>
  
  <p>The variable $one is the value that i get from a form. I want my table to be updated the value which i got from that form.</p>