但是index.php文件我目前是做调试用的,就是一个echo "hello";
现在我需要让index.php文件去调用我的一个html文件,该html文件是我要在页面显示的一些内容;
请问这个如何调用呢??
回复讨论(解决方案)
include 进来就可以了
file_get_contents('xxx.html');
include('xxx.html'); 或者
$str = file_get_contents('a.html');echo $str; include require 都可
include require