Chu*_*utt 1 php server-side-includes
的index.php
<?php
$title = "This is the page title";
require_once '/includes/header.php';
?>
Run Code Online (Sandbox Code Playgroud)
header.php文件
<head>
<title><?= $title ?></title>
</head>
Run Code Online (Sandbox Code Playgroud)
产量

| 归档时间: |
|
| 查看次数: |
101 次 |
| 最近记录: |