Need to Know:
http://example.pcriot.com/a/includes/header.php (Would contain the header)
http://example.pcriot.com/a/includes/footer.php (Would contain the footer)
http://example.pcriot.com/a/index.php (The index page of directory A)
http://example.pcriot.com/a/lettera/index.php (Another index of a higher directory)
The Problem:
Okay. It won't display my header and footer even though I correctly use the include function. I've tried everything, but just displays a white page with the text.
Example:
Let's say I make a page with a url of http://example.pcriot.com/a/lettera/index.php.
And I want to include http://example.pcriot.com/a/includes/header.php and http://example.pcriot.com/a/includes/footer.php
So, I would use the PHP include function and use those.
The problem is, the includes won't show up, just the page of /a/lettera/index.php.
Help?
http://example.pcriot.com/a/includes/header.php (Would contain the header)
http://example.pcriot.com/a/includes/footer.php (Would contain the footer)
http://example.pcriot.com/a/index.php (The index page of directory A)
http://example.pcriot.com/a/lettera/index.php (Another index of a higher directory)
The Problem:
Okay. It won't display my header and footer even though I correctly use the include function. I've tried everything, but just displays a white page with the text.
Example:
Let's say I make a page with a url of http://example.pcriot.com/a/lettera/index.php.
And I want to include http://example.pcriot.com/a/includes/header.php and http://example.pcriot.com/a/includes/footer.php
So, I would use the PHP include function and use those.
The problem is, the includes won't show up, just the page of /a/lettera/index.php.
Help?