title: Display database contents? PHP / MySQL
body: <p>So I have a chatroom type of database where the text that a user inserts gets stored into a databse as their username in one field and their message in the other. I want to have my page output the database info, so that people can see each others messages. 
  How do I do this?</p>
  
  <p>Also, is it possible to make a for loop that checks to see if the database has been updated with a new message, therefore it reloads the page? (Then the page outputs the database info again to update everyones messages)</p>
  
  <p>Please help.. i'm so confused.</p>