Creating a template that has mysql query to display data

pattycake

Member
Registered
Joined
Dec 30, 2022
Messages
22
Points
1

Reputation:

Do I need to create an add-on just to create a template that will contain a mysql query to display some data from a table in the database or, is there something simple, a simple template to do this?

I don't need any group permissions, user permissions, etc... just want to put an sql statement in the template and have it display the results.

Maybe an existing template that does something like this that I can use as an example?

Can I just create a php page to do this and put a link on the site to that page? Is it that simple?
 

pattycake

Member
Registered
Joined
Dec 30, 2022
Messages
22
Points
1

Reputation:

ok, how about this.... how to insert PHP code into a page that will display on a Xenforo site?
 
Top