Segun lo q necesitas, seria algo asi:
Código PHP:
$sql = "select TAL";
$result = mysql_query($sql);
if(mysql_num_rows($result)==0){
echo "No hay datos";
exit();
}
echo '<table>
<tr>
<td>Nom</td>
<td>Apll</td>
</tr>';
while ($row = mysql_fetch_array($result)){
echo '
<tr>
<td>'.$row['Nombre'].'</td>
<td>'.$row['apellido'].'</td>
</tr>';
}
echo '</table>';
Espero q te sirva de ayuda
Salud2