I have three global files Viz., header.php,navigation.php and footer.php in my project. I have many sections as folders. My sections are user account, Customer Details, Invoice etc.,Each section has many files. Putting all these in root directory makes me difficult in managing the project. But When I use folders for categorizing like customer,invoice and users, navigation links are not working properly. Clicking a section in navigation link for the first time works fine but accessing another section goes How to use global header,navigation,footer for the entire project.,
User Account
<ul>
<li><a href="sections/useraccount/usergroup.php"> User Group </a></li>
<li><a href="sctions/useraccount/newuser.php"> Create User </a></li>
</ul>
Invoice
<ul>
<li><a href="sections/invoice/newinvoice.php"> Create </a></li>
<li><a href="sctions/invoice/bills.php"> Bills </a></li>
</ul>