title: mysql_query() expects parameter 1 to be string, but string exists
body: <p>I'm new to mysql, I created a table using phpmyadmin in my godaddy account, but I can't add anything via php. Code is:</p>
  
  <pre><code>$conn = mysql_connect($dbhost, $dbuser, $dbpass);
  if(! $conn )
  {
    die('Could not connect: ' . mysql_error());
  }
  echo 'Connected successfully';
  
  mysql_query($conn,"INSERT INTO entries (business) VALUES ('Test biz')");
  </code></pre>
  
  <p>I connect successfully but I'm getting the error "mysql_query() expects parameter 1 to be string, resource given" on the line </p>
  
  <pre><code>mysql_query($conn,"INSERT INTO entries (business) VALUES ('Test biz')");
  </code></pre>
  
  <p>Any notion as to why that is? Thanks!</p>