PHP代码运行不正常? [英] PHP code not run properly?
本文介绍了PHP代码运行不正常?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是自学PHP语言?
我用net bean运行代码?
如果我运行此代码?
例如:
i'm self studying PHP language?
i'm using net beans to run codes?
if i run this code?
Eg:
<?php
echo "<h2>PHP is fun!</h2>";
echo "Hello world!<br>";
?>
它会显示回音词
如果我通过网络bean运行它将在网页浏览器中弹出空白页?
但是如果我手动运行它会有效吗?
但它也会显示回音字?
do我必须更改netbeans中的设置吗?或任何可能的解决方案请
it will display with echo words
and if i run through net beans it will pops up empty page in web browser?
but if i run manually it will works?
but it will show echo word as well?
do i have to change settings in netbeans for that? or any possible solution please
推荐答案
您的代码没问题。我建议您浏览以下教程,您应该能够自己找到解决方案。
https://netbeans.org/kb/docs/php/quickstart.html#setUpProject [ ^ ]
Your code is fine. I suggest walk through the following tutorial and you should be able to find the solution yourself.
https://netbeans.org/kb/docs/php/quickstart.html#setUpProject[^]
这篇关于PHP代码运行不正常?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文