You are creating a table everytime the for loops.
you shold have something like this:
<?php
echo '<html><body><div id="table" align="center">';
echo '<table width="100%" border="0" rules="rows">';
for($i=0;$i<=10;$i++)
{
echo '<tr class="bb">';
echo '<td><div class="tdheight">asdasd</div></td>';
echo '<td>asdasd</td>';
echo '<td>asdasd</td>';
echo '<td>asdasd</td>';
echo '<td>asdasd</td>';
echo '</tr>';
}
?>
</table>
</body>
</body>
</html>
You should also change the id attribute to a class one since it will be multiple elements with the same id