How to pull content from another database into WordPress

I am about to embark on something I have not yet done but I am assuming it is not that complicated to do.

I need to pull content from another MySQL database onto a WordPress page. The other database will be used to track high scores of a game and I need to be able to pull these high scores onto the site.

Read More

Could someone please tell me how I would go about this?

Thanks!

Related posts

Leave a Reply

1 comment

  1. Create a wordpress widget that connects with this ‘high scores’ database, pulls data needed and displays them.

    If database is on other server than your wordpress installation it may be not possible to connect to it directly. If so, create a publicly accessible script that pulls the data and outputs them as ie. JSON on the same server where ‘high scores’ DB. Then create a wordpress widget that reads that data (using PHP or javascript) and displays them.