PHP code displayed in browser

后端 未结 2 1768
生来不讨喜
生来不讨喜 2021-01-21 12:43

so, I\'m working on a databases project, and i\'m trying to code incrementally. the problem is, when i go to test the php in browser, it displays the php code after my use of \

相关标签:
2条回答
  • 2021-01-21 13:23

    Your web server is not aware of PHP, which may not even be installed. Therefore, php code is just treated as normal text. Please update your post to tell what server you're using.

    0 讨论(0)
  • 2021-01-21 13:33

    It sounds like PHP is not working at all. The only reason you are not seeing the first part, is because your browsers is parsing it as if it were an HTML tag.

    0 讨论(0)
提交回复
热议问题