I want to show values retrieved from a database table in a HTML table page. I did a lot of research but I could not find any answer to it. The database table name is tickets, it contains 6 fields right now (submission_id, formID, IP, name, email, and message) but should have another field called ticket_number. Please help me out with 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>[email protected]</td>
<td>This is the message John sent you</td>
</tr>
</table>