Hi I am trying to crate a website using php, and the structure looks like the following:
-index.php
-header.php
-footer.php
-style.css
-images\{images are in this folder}
-\web\index.php
-\contact\index.php
The thing is i am using php's include function on all the index.php files to use the header.php and footer.php files, but the problem is that only the index.php in the root folder is showing the styles, but when i open localhost/web/index.php the page looks broke as the css and images are not found.
How can i resolve this problem.
Help please