I am working on retrieving the values from a database table and showing them in an HTML table on a page. The database table name is tickets, it has 6 fields right now.  How can I get it to show all the values from the db in a html table like this:
<table border="1">
  <tr>
    <th>Submission ID</th>
    <th>Form ID</th>
    <th>IP</th>
    <th>Name</th>
    <th>E-mail</th>
    <th>Message</th>
  </tr>
  <tr>
    <td>123456789</td>
    <td>12345</td>
    <td>123.555.789</td>
    <td>John Johnny</td>
    <td>johnny@example.com</td>
    <td>This is the message John sent you</td>
  </tr>
</table>
Can someone please help me with this?