title: My MySQL query doesn't work, nothing goes to the database
body: <p>I am trying to put a single article to the database, but fail:</p>
  <pre><code>$con = mysql_connect(&quot;localhost&quot;,&quot;root&quot;,&quot;&quot;) or die(mysql_error());
  mysql_select_db(&quot;easy_db&quot;,$con);
  mysql_query(&quot;INSERT INTO easy_db.article (Title, Article, Topics, author) VALUES($title, $data, $topic, $author)&quot;);
  
  mysql_close();
  </code></pre>
  <p>I checked the spelling and printed all the variables ($title, $data, $topic, $author), that I got from the post-http..</p>
  <p>Nothing is being inserted to the database with that statement. Why?</p>
  <h3>UPDATED</h3>
  <p>I have got an error in this one too:</p>
  <pre><code>= mysql_query(&quot;SELECT page FROM `easy_db`.`article` ORDER BY article_id DESC LIMIT 1&quot;)  or die(mysql_error());
  </code></pre>