title: Why is my database table not updated after this query?
body: <p>I am using a dedicated server through 1 and 1 and the PHP code as below will not insert the data into the database.</p>
  
  <p>All connections to database are correct. </p>
  
  <pre><code>$id = $_REQUEST['id'];
  $content = $_REQUEST['content'];    
  mysql_query("UPDATE `content` SET `content` = '$content' WHERE `id`='$id'");
  </code></pre>
  
  <p>When I test on my local server all works fine, there is something about the server that will not allow me to upload. I am connecting using a very general method</p>
  
  <pre><code>    $connection = mysql_connect("localhost",
      "root",
      "password");
  
  mysql_select_db("dbname", $connection);
  </code></pre>