I have a global.php file that i pull a few common things into and set a few variables, i added my connection page into it conn.php and in the conn.php page i have an include for my database.php object.
now some of the includes are in different sub folders
and they all work fine when called from any file in the root folder but when they are included in pages that are in sub folders i get the error that they can not be found
if i seperate the includes from the global.php page and put them in seperately they work but as i said the includes that are within includes give me errorrs
maybe this is the wrong way to do things, input would be great.