Quote:
Originally Posted by stevectaylor
Thanks lynne, I did guess that, but when inserted to the php it appears at the very top. How do you position a php include statement.
|
In the php page, test.php, after you include global.php, just include your script also - something like:
PHP Code:
chdir ('/home/hostcule/public_html');
require_once('./global.php');
include("offers/choice_ad1.php");
It should not have any output. If it does, then you need to assign it to a variable and then output that variable in your template where you want it.