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

PHP学习18例

WBOY
WBOYOriginal
2016-06-23 14:32:23709browse

  一、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");?>
  填写我们的版权信息
Statement:
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
Previous article:用PHP实现换肤Next article:关于PHP及建站