Print a HTML table using PHP?

How do print a HTML table using PHP? i want to be able to pull out data from a database and using a while loop have them printed in a table.

I have created a calendar and of course i want 7 colums and 5 rows and have them populated by PHP dynamically, is it possible?

ps. i forgot to mention that it will pull out these numbers/days from the days coloum in the DB that also have dynamic links, so the table should generate dynamic links aswell…

Thanks :slight_smile: