首页 > Web开发 > 详细

php index.php的逻辑问题

时间:2021-09-22 03:38:21      阅读:23      评论:0      收藏:0      [点我收藏+]
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <?php
        include "nav.html";
        include "a.html";
        // include "b.html";
        // include "c.html";
        include "foot.html";
    ?>
</body>
</html>

  这是我index.php

  我引入了导航栏nav.html,中间可以变换的a.html,页脚foot.html,当我点击导航栏的时候,出现对应的内容(也就是引入的a.html,b.html,c.html变化),请问大咖们这一块的逻辑应该怎么写 

php index.php的逻辑问题

原文:https://www.cnblogs.com/mykun/p/15308163.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!