“Hello, World” in PHP displays nothing

后端 未结 6 1928
我寻月下人不归
我寻月下人不归 2020-12-07 03:21

I am new to PHP, just downloaded it, and wrote a \"Hello, World!\" program:


    

    

        
6条回答
  •  醉梦人生
    2020-12-07 03:48

    You need a webserver to view the PHP program like XAMPP or WAMP. If you are using XAMPP, put your file in htdocs and then access your file from any browser like Google Chorme, Firefox or Internet Explorer by typing localhost/foldername/yourfile.php, in your case localhost/test.php.

提交回复
热议问题