[eluser]LAMP Coder[/eluser]
I'm trying to organize my view files into folders, following is the directory structure
Code:
Views
- CommonFiles
- header.php
- footer.php
- Section1
- section1_index.php
- Section2
now, when i try to include header.php in section1_index.php it doesn't work.
I've tried following:
1.
Code:
include 'CommonFiles/header.php';
2.
Code:
include '../CommonFiles/header.php';
Neither of them work, I'm not sure what I'm doing wrong..