Hi there,
I am stuck on using an Include in PHP. I have tried:
Basic Include:
Http Include:
The three files are:
theader.inc (In an includes folder)
tfooter.inc (In an includes folder)
tutorials.php (In the same folder)
I am trying to include them all together to make my page and I get nothing: Click Here. What am I doing wrong?
Thanks...
[Edit]
As there is no index page as of yet, you can view my file structure: Click Here
I am stuck on using an Include in PHP. I have tried:
Basic Include:
Code:
<?php
include 'includes/theader.inc';
include 'tutorials.inc';
include 'includes/tfooter.inc';
?>
Http Include:
Code:
<?php
include 'http://www.bf2tricks.ubersol.co.uk/verynew/includes/theader.inc';
include 'http://www.bf2tricks.ubersol.co.uk/verynew/tutorials.inc';
include 'http://www.bf2tricks.ubersol.co.uk/verynew/includes/tfooter.inc';
?>
The three files are:
theader.inc (In an includes folder)
tfooter.inc (In an includes folder)
tutorials.php (In the same folder)
I am trying to include them all together to make my page and I get nothing: Click Here. What am I doing wrong?
Thanks...
[Edit]
As there is no index page as of yet, you can view my file structure: Click Here
Last edited: