root 下有文件夹如下所示
root ->include->head.php
root->news->new.php
root->main.css头文件head.php中引入了main.css
在new.php中include_once("../include/head.php");
结果页面全乱了,应该css是路径不对,怎么解决
root ->include->head.php
root->news->new.php
root->main.css头文件head.php中引入了main.css
在new.php中include_once("../include/head.php");
结果页面全乱了,应该css是路径不对,怎么解决
www.example.com/news/news.php//显示乱
news.php中就一句话include_once("../header.php");