are you reading two columns from the database or one? If two columns, then all you do is read from db, assign the result to an array, then store array elements in variables. Here's an example.
connect to db...
form query...
$result = mysql_db_query($db,$query,$conn);
while ($myrow = mysql_fetch_array($result)) {
$info1 = $myrow["info1"];
$info2 = $myrow["info2"];
Now put in table
<tr><td>$info#1</td><td>$info#2</td></tr>