Calling MySQL database in paper_lantern
I'm trying to integrate a piece of javascript code into paper_lantern and for a few parts of it I'll need to pull information from our client management database. I'm very familiar with connecting to a MySQL database using PHP but it seems like paper_lantern is all HTML so I'm at a loss as to how to get the data I need from a database for use in the template. Since I need this code to live in the footer of every page I can't just create a custom page that uses PHP. What are the best ways of doing this?
-
The following guide is helpful if you decide to develop a plugin: Guide to cPanel Plugins - Software Development Kit - cPanel Documentation Thank you. 0
Please sign in to leave a comment.
Comments
3 comments