I have a file called header.php there Is a link called that its suppose to always take the user to the root index.php I.e <a href="index.php>Home</a>, still on the root folder, I created a folder called college . The college folder has its own index.php, college.php and the header.php is included on it each of this page,
While on the root folder an I click on the home button, it directs to me to the home page (perfect) but when am on the college.php, which it is in the college folder, each time I click on the home button, it does not take me to the main home page rather it is localhost/bethel/college/index.php, but I would like it to take me to localhost/bethel/index.php . Is it clear?
How do I define an absolute path irrespective of any file am working on??