title: PHP and MySql trouble
body: <p>I am having trouble making this seemingly simple MySql query work. Can anyone spot the problem? </p>
  
  <pre><code>&lt;?php
  include "config.php";
  
  $offerid = $_POST["offerid"];
  $ip = $_SERVER["REMOTE_ADDR"];
  
  mysql_query("INSERT INTO voted (offerid,ip) VALUES (".$offerid.",".$ip.")");
  ?&gt;
  </code></pre>