2017-07-09 12:58
浏览 49

无法在浏览器上使用php语言打印“hello world”[关闭]

I'm wondering why I cannot display the simple "hello world" using php language.

This is how my code looks like:

 echo "Hello world";

and this is how the output come out in the browser, nothing display:

enter image description here

  • 写回答
  • 好问题 提建议
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • doukuibi9631 2017-07-09 13:04

    You need to make sure following things for executing php file.

    • Php tag should be properly open and close <?php ... ?>
    • You xampp server is properly running.
    • You are accessing file by putting correct path.
    解决 无用
    打赏 举报

相关推荐 更多相似问题