Home  >  Article  >  Backend Development  >  在哪运作PHP代码

在哪运作PHP代码

WBOY
WBOYOriginal
2016-06-13 12:52:29929browse

在哪运行PHP代码?
各位兄弟姐妹,小的初学PHP,并坚定走PHP WEB,大家指导指导俺




请问编写的PHP应该在哪运行啊,HTML和终端运行有差异......HTML不认C的转义序列..让我这菜鸟很困扰....


------解决方案--------------------
wamp、lamp、lnmp等,win下面可用wamp或者iis等,有集成的软件,你可以google哈
------解决方案--------------------
html中的换行是
标签
对于文本中的换行: windows等平台是\r\n    linux平台为\n
------解决方案--------------------
要在html显示换行,请用

------解决方案--------------------
引用:
我的环境是在LAMP,但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