HTML is still reading php code with <!---->

前端 未结 7 1898
感情败类
感情败类 2021-01-14 06:51

I have the following problem. I used the following code in my page to ignore some php code, but it seems that over the Thanksgiving weekend there was an update and it is no

7条回答
  •  死守一世寂寞
    2021-01-14 07:39

    Two things are happening at once which I think might be confusing:

    • Unless you wrap everything inside the php tags with /* */ or use // that code will be executed because it comes from the server.

    • The browser is the only one that parses the .

    So your server is parsing the php and then the browser is hiding what was parsed.

    Solution

提交回复
热议问题