PHP gets commented out in HTML

后端 未结 6 917
名媛妹妹
名媛妹妹 2020-12-05 06:59

I created a simple HTML webpage that includes the following PHP code in the HTML code.


When I run

6条回答
  •  悲哀的现实
    2020-12-05 07:30

    Since you can't run PHP directly in the browser, you need to have a server and at the same time, you need to have a .php file in order to execute PHP script.

提交回复
热议问题