Custom SQL Query for WordPress page
I’m quite new to wordpress.
I’m trying to build a tableview within a wordpress page. Therfore I need a custom SQL Query to my MySQL Database.
- Query data from my MySQL Database
- Get the result somehow in a HTML format in order to display it in a table view within a wordpress page.
My question is:
How can I use the wpdb_class in a wordpress page when it is not an option to put php code in a page?