Hello ,
I have files with this anatomy
home/index.php
home/inc/includes.php
home/inc/functions/functions.php
I want to include the file inc/include.php in my index.php ,
index.php
includes.php
functions.php
The problem ,
I want to include the inc/include.php file in the index.php page , with respect to functions/functions.php which included in the inc/include.php page ,
with this codes i get an error , cannot find file home/functions/functions.php
that is all
thanks in advance
I have files with this anatomy
home/index.php
home/inc/includes.php
home/inc/functions/functions.php
I want to include the file inc/include.php in my index.php ,
index.php
PHP:
<? include('inc/includes.php'); ?>
PHP:
<? include('functions/functions.php'); ?>
PHP:
//some functions
I want to include the inc/include.php file in the index.php page , with respect to functions/functions.php which included in the inc/include.php page ,
with this codes i get an error , cannot find file home/functions/functions.php
that is all
thanks in advance