在哪运作PHP代码

WBOY
Release: 2016-06-13 11:16:41
Original
811 people have browsed it

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




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


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

------解决方案--------------------
引用:
我的环境是在LAMP,但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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!