Home > Backend Development > PHP Tutorial > PHP学习18例

PHP学习18例

WBOY
Release: 2016-06-23 14:32:23
Original
747 people have browsed it

  一、PHP的基本结构:
  使用Include函数


Your page Subject and domain name
  上面内容为我们使用的每个页面的标题,不要动。
  每个页的头部:

"" your others meta tag
"" your others meta tag
"" your others meta tag
"" your others meta tag
"" your others meta tag
"" your others meta tag
"" your others meta tag
重要的javascripts代码放这
CSS设置放这
  上述内容保存为header.php,使每个页面的头部都是一样的。



  你的页的所有内容


  保存为footer.php,使每个页面的底部都一样。
include("footer.php");?>
  填写我们的版权信息
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template