Можно на php, приблизительно так:
echo "<table border='1'>
<tr>
<th>One</th>
<th>Two</th>
</tr>";
while($row = mysqli_fetch_array($result))
{
echo "<tr>";
echo "<td>" . $row['One'] . "</td>";
echo "<td>" . $row['Two'] . "</td>";
echo "</tr>";
}
echo "</table>";