title: PHP Form writes blank row to MySQL DB
body: <p>I'm using a simple form to submit a row to my database. I don't get an error connecting to the database and it does inserts the row but it writes all values blank. </p>
  
  <p>This is the form:</p>
  
  <pre><code>&lt;form action="insert.php" method="post"&gt;
  Título: &lt;input type="text" name="title" /&gt;
  Privacidad: &lt;select type="text" name="privacy" /&gt;
    &lt;option value="public"&gt;Publico&lt;/option&gt;
    &lt;option value="private"&gt;Privado&lt;/option&gt;
  &lt;/select&gt;&lt;br/&gt;
  &lt;input type="submit" /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>And this is the insert.php file:</p>
  
  <pre><code>&lt;?  
      $con = mysql_connect("removed","removed","removed");
      if (!$con)
        {
        die('Could not connect: ' . mysql_error());
        }
  
  mysql_select_db("copoetry", $con);
  
  $sql="INSERT INTO Poems (Title, Privacy)
  VALUES
  ('$_POST[title]','$_POST[privacy]')";
  
  if (!mysql_query($sql,$con))
    {
    die('Error: ' . mysql_error());
    }
  echo "1 record added";
  
  mysql_close($con)
  ?&gt;
  </code></pre>
  
  <p>What am I doing wrong? Thanks</p>