How do I make an HTML table from a database table?

Since 3.1 there’s a class WP_List_Table which makes it a hella lot easier to render tables for an array of data objects.

There’s very little documentation (read: none) on it yet, but you can check out the source if you’re familiar with PHP.

Leave a Comment