MyBB Community Forums

Full Version: Including pages?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I was trying to include a page in my pagefooter, but it doesn't work.

I tried
<?php include("aff.php") ?>
<? include("aff.php") ?>
<?php include('aff.php') ?>
<?php include('aff.php') ?>
<?php include("aff.php"); ?>
<? include("aff.php"); ?>
<?php include('aff.php'); ?>
<?php include('aff.php'); ?>
But nothing seems to work. I don't get an error, just nothing happens...

And when I just insert the PHP code, I get this:
Parse error: syntax error, unexpected T_CHARACTER, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/az-tech.be/www/forum/global.php(271) : eval()'d code on line 41

While www.gfx-depot.com/aff.php works fine.
Although I have no idea of how to get rid of the underscores :p

Some help with the include part please?
woohoo, finaly Big Grin