执行php程序的问题 [英] problem in executing php program

查看:51
本文介绍了执行php程序的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi


我使用NetBeans创建php程序。我还为apache服务器安装了XAMPP。我试图按照这些说明运行测试程序



https://netbeans.org/kb/docs/php/quickstart .html



现在当我执行这个程序时,这给了我一个空白页面。我不懂为什么?请告诉我

hi
i am using NetBeans for creating php programs. i have also installed XAMPP for apache server. i was trying to run a test program by following these instructions

https://netbeans.org/kb/docs/php/quickstart.html

now when i am executing this program this is giving me a blank page. i do not understand why? plz tell me

推荐答案

我明白了,你是:

I see, there you are:
<?php
echo "this is my first program";
?>



记得把你的php代码包括在内:


remember to enclose your php code like this:

<?php 
// your php code here
?>



参考: PHP 5教程 [ ^ ]


这篇关于执行php程序的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆