MyBB Community Forums

Full Version: Include a .php file?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys!

I'm currently working to draw loads, i've created a .php that reads out data's out of a mysql database. Now i want to include this file to my welcome page of myBB. I'm not able to include the file into the software, it cannot show a echo(); too, what i need to do?
if you are trying to include the php file through template edit then you have to use php in templates plugin
I can't set a second sql connection, i get a error ;/ anyone know why?
^ please elaborate and post complete error