Ready to get started?Download WordPress


Showing Custom Data from MySql (3 posts)

  1. tdave00
    Posted 6 years ago #

    I have created some tables within wordpress's database. The tables are updated daily with data from a csv file. Can someone show me how to get this custom data out of the database and on onto a page? Thanks.

  2. MichaelH
    Posted 6 years ago #

    Could look at using the wpdb_Class with something like this example:

    $mydata = $wpdb->get_results("SELECT * FROM my_data_table WHERE my_ID=$whatever");
  3. tdave00
    Posted 6 years ago #

    I'll give that a shot and post back.

Topic Closed

This topic has been closed to new replies.

About this Topic