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.

  1. Query data from my MySQL Database
  2. 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?

user32354 2 months 0 Answers 4 views 0

Leave an answer