为什么我的<;页脚></页脚>;没有在PHP中使用include函数?

为什么我的<;页脚></页脚>;没有在PHP中使用include函数?,php,html,include,Php,Html,Include,我一直在使用index.php格式: <?php //this is to include the header require 'includes/header.php'; //this is to include the content menu include 'includes/content.php'; ?> <?php //this is to include the footer include 'includes/footer.php

我一直在使用index.php格式:

<?php

//this is to include the header
require 'includes/header.php';
//this is to include the content menu
    include 'includes/content.php';
?>

<?php
    //this is to include the footer
    include 'includes/footer.php';
?>


服务器似乎没有捕获includes/footer.php文件,因为当我转到developer tools时,它在没有footer标记的情况下显示了以下内容:

这是我的footer.php文件:

<footer class="website-footer fixed-bottom">
    <div class="container">
        <div class="row">
            <div id="logo">Whit<span>BLOG</span></div>
        </div>

        <div class="row">
            <div class="col-sm">Copyright &copy; Made with love by Jason &#9829; </div>
            <div class="col-sm">
                <ul class="footer-nav">
                    <div class="footer-content">
                        <li><a href="index.php">Home</a></li>
                        <li><a href="gallery.php">Gallery</a></li>
                        <li><a href="aboutus.php">About Us</a></li>
                        <li><a href="contactus.php">Contact Us</a></li>
                    </div>
                </ul>
            </div>
        </div>
    </div>
</footer>
</body>


惠特博格
版权及副本;《爱与生》杰森♥;

任何人都可能知道问题出在哪里?

打开源代码,看看是否有页脚代码。它不在那里!尝试
要求使用'footer.php'
-如果文件有错误,您将得到致命错误。