title: Getting Resource id #3 Error in MySql
body: <p>I ran this code and I got a Resource id #3 error where it should have showed the full movies table.</p>
  
  <pre><code>mysql_connect("localhost", "root", "password") or die(mysql_error()); 
  mysql_select_db("treehouse_movie_db") or die(mysql_error()); 
  $data = mysql_query("SELECT * FROM movies") 
  or die(mysql_error()); 
  echo $data;
  </code></pre>