[Solved] How to include php pages in same or different folders?


If it’s the same folder:

include 'filename.php';

If it’s a parent folder;

include '../filename.php`

if it’s a folder with the same parent:

include '../foldername/filename.php;`

solved How to include php pages in same or different folders?