title: Average Rating PHP
body: <p>I structured a PHP table with two columns: 1 for the <code>hospital Id</code> and 1 for the <code>rating</code>. </p>
  
  <p>When a user rates the page, in the Id section goes a default id (depending on the page) and the rating goes in the rating section obv.</p>
  
  <p>Now, how can I calculate the average rating only for a certain ID? </p>
  
  <p>I've never studied Php so I need some help! Thanks everyone!!</p>