The answer is already given but it is not satisfied.
This is my directory structure and I am trying to include the header.php
in index.php
-my_app
-assets
-js
-my_app.js
-css
-my_app.css
-includes
-header.php
-index.php
-test
-my_test.php
I tried with include '../includes/header.php';
but is not working.I also want to include my_app.js file in index.php file.How can I do that?