MyBB Community Forums

Full Version: how to run PHP Code?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Sorry if this has been posted but i tried searching couldt find anything....

I am for the first time digging into the world of myBB templates and stuff and I was experimenting inside templates.. and in the header template i wanted to run some of my own phpcode but it doesnt work.. looking at the page source it seems that my

 <? echo "test";?>

wasnt parsed by the interpreter but instead outputted in plain text


so how does one run custom php code inside templates?
cooolness