with a mySQL database it would be something like
$result = mysql_query($query_string);
while ($row = mysql_fetch_array($result)) {
echo "<tr><td>$row["fieldname1"]</td><td> $row["fieldname2"] </td></tr>"
}
mysql_free_result($result);
to read the reults and put them in a table rows.
hth