How do I target a page one folder up with php?

Sam

New member
Hi I am trying to build a website using php and im stuck with a very stupid problem.
i am using the <?php require ("index.php"); ?> code to target a page I want it to load.
but the index.php (in this case) is in another folder. if they are in the same folder this should do but the page requiring the index.html is one above the index

I hope I explained it well.
 
Back
Top