I am working on a WordPress website. I have a MySQL database with data in it. I want to showcase this data on my website (I already have a local PHP page that does what I want).
I have been told that the best way to do this is to create a plugin that retrieves data from the database, but I have no idea how to make one and I can't find any tutorials that involve databases.
Any tips/pointers/links to tutorials are greatly appreciated.