hope that you're doing well, I want to use the include function in my PHP code to summon a part of the page, the problem is that the PHP page is in another folder so in order to bring it I have to do ../folder/page.php, here what I did:
include '../teacher/sidebar.php';
But it didn't work they are showing me Message: include(./teacher/sidebar.php): failed to open stream: No such file or directory Could anybody please help me? Thank you in advance
Here there are the paths:
The mother page where I want to use the include function: C:\AppServ\www\ci\application\views\backend\grades\grades.php
And this is the path for the desired page to be included C:\AppServ\www\ci\application\views\backend\teacher\sidebar.php