title: How to insert data in PHP MariaDB using INSERT...WHERE query
body: <p>I am using phpMariaDB server version-10.1.37. When I use <code>insert...where</code> query in code then it is not working.</p>
  <p>I hope you solve my problem.</p>
  <pre><code>INSERT INTO TABLE1 (SNAME,QUALIFICATION,AGE) values('Sumit Kumar','Matric',NOW()) WHERE 'Status'='OK' ;
  </code></pre>
  <p>This is the error I get:</p>
  <blockquote>
  <p>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 Status='OK'' at line 1</p>
  </blockquote>