Hi
I am new to php.Having problem accessing the files from inside a folder to outside of it.
I have my navigation menu in a file called "header.php".This header.php file fetching data fron datbase and including /calling several files from stylesheet and images folder.
require_once("includes/connect.php");
require_once("includes/functions.php");
But when including this header.php file from another file which is inside another folder say-(product/matrix.php) it not including or rather can't accessing files from stylesheets or images folder. although it is connectin and retrieving all data from database. Why it is so?How to solve this problem?
and anoter problem in "products/matrix.php" all navigation items are become a link with "prduct" folder like [
localhost...]
Any reply would be great help.Thanks in advance.