I'm new to programming & this is a simple project. Mainly I have assets,model,view folders.my problem is I have a header.php file with images which is common to all files.so my images are in img folder which is inside assets folder.So my path to images is
< img src="assets/img/logo.png ">
When I include the header in index.php file it works properly.
require_once('header.php');
But when I include header into the user.php file which is inside userManagement folder inside view folder even the header is added images are not displaying. Code is
require_once('../../header.php');
folder structure is
assets
img
logo.png
model
view
userManagement
user.php
index.php
header.php
Please help me with this.Thanks in advance.