I have installed LAMP and have started working on my web site. For some reason, my include isn't working. Here is what I have.
<?php
$title="Study Question | Your Study Buddy";
$currentpage="includes/pages/index.php";
include "includes/page.php";
?>
It will include a file if it is in the same folder. Why is it not included here?
<?php
$title="Study Question | Your Study Buddy";
$currentpage="includes/pages/index.php";
include "includes/page.php";
?>
It will include a file if it is in the same folder. Why is it not included here?