WP Database Admin Table

Occasionally I help people with WordPress questions on Reddit. This is one example I knocked up for a user asking about displaying results from a simple database query on a WordPress admin page. Could be handy for debugging etc, but doesn’t provide much validation, sorting, pagination etc.

Take a WPDB query result and display it as a table, with headers from data keys. Create demo menu page to show example table.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>