Home  >  Article  >  Backend Development  >  php后台<?php?>和<?php的区别

php后台<?php?>和<?php的区别

WBOY
WBOYOriginal
2016-06-20 12:47:101037browse

正规的PHP文件(只有纯的PHP代码)的模版为
//php代码


-------------------------------------------------------------------------
是由于跟Html混编才需要的
注意:
除非在和HTML混编的时候,不然不要使用 ?>
避免?>后跟着空格或换行,导致header或session_start的时候出问题

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