简体   繁体   中英

I am trying to include a PHP file into another file, from different folders

am trying to include a file that is in a folder into another file that is within a different folder in php

include ('inc/config.php'); //from config folder
include('design/footer.php');// from design folder 

including these two files into admin.php that belongs to admin folder.

So what is your problem? Attach your file structure here, so people can gues what you want.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM