回答: 是网络托管的问题。
这是我的代码
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="description" lang="en" content="Test Website " />
<meta name="author" content="">
<link rel="stylesheet" type="text/css" href="css/style.css">
<title</title>
</head>
<body>
<section id="wrapper">
<?php include('includes/topHeader.php'); ?>
<?php include('includes/leftSide.php'); ?>
<?php include('includes/middleSide.php'); ?>
<?php include('includes/rightSide.php'); ?>
</section>
<?php include('includes/foot.php'); ?>
</section>
</body>
</html>
质疑其他 php 文件没有出现在主页中?
创建它我使用了这个网站 http://www.1stwebdesigner.com/css/how-to-create-php-website-template/
更新 查看源代码显示:
<section id="wrapper">
<!--?php include('../includes/topHeader.php'); ?-->
<!--?php include('../includes/leftSide.php'); ?-->
<!--?php include('../includes/middleSide.php'); ?-->
<!--?php include('../includes/rightSide.php'); ?-->
</section>
<!--?php include('../includes/foot.php'); ?-->