you can see to different file address (1) and (2), i want to include header.php in index.php, but show error, i have used normal code in index.php: . sorry not working.
(1) localhost/folder1/index.php (2) localhost/folder2/header.php
Please help me.
you can see to different file address (1) and (2), i want to include header.php in index.php, but show error, i have used normal code in index.php: . sorry not working.
(1) localhost/folder1/index.php (2) localhost/folder2/header.php
Please help me.
In index.php you should put
<?php
include '../folder2/header.php';
?>