Custom SQL Query for WordPress page

Question

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?

0
user32354 2 months 0 Answers 4 views 0

Leave an answer