You don't explain where the data is coming from, but as dougal's explained, all you need to do is find out how to write a table in HTML.
Once you do that, look for a pattern; what structure repeats throughout the code inside the <table> tag? Once you determine that, all you need to do is output the table tag in PHP, run a loop (e.g. [man]while/man or [man]for/man) to output the code that repeats (hint: the TR element defines each row in a table), and then output the closing table tag after the loop.