another easy question for someone!
on my server i have a location like
htdocs/aFolderName/
which contains a file index.php, which references a required file from
htdocs/aFolderName/php/
by using the code
<?php require('php/db.php'); ?>
I also have a folder
htdocs/aFolderName/other/
which contains another php file which needs to require the php file located
htdocs/aFolderName/php/
how do i reference this, can i step back a folder?
Thanks!
1 Answer