ohdang888 Posted December 19, 2007 Share Posted December 19, 2007 hey. i am using include files a lot. but to save space, i don't want to include the same include files in every folder, (such as menu and footer) so how to i command the php to look back one folder for example <?php include("footer.php"); ?> how would you say "that file is one folder back" i tried <?php include("*\footer.php"); ?>, but thats not working Quote Link to comment Share on other sites More sharing options...
kjtocool Posted December 19, 2007 Share Posted December 19, 2007 <?php include ("../footer.php"); ?> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.