title: what is the notice: resource id#9?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4290108/how-do-i-echo-a-resource-id-6-from-a-mysql-response-in-php">How do i “echo” a “Resource id #6” from a MySql response in PHP?</a>  </p>
  </blockquote>
  
  
  
  <p>I created a SELECT query but it has an error. When I print_r(result) I get the resource id#9 
  notice here is the code:</p>
  
  <pre><code>$query= "SELECT * FROM {$hotel_name} WHERE Bdate BETWEEN {$chack_in} AND {$chack_out}";
  
  $availability = mysql_query($query);
  
  confirm_query($availability);
  
  print_r($availability);
  </code></pre>