How to use PHP with Visual Studio

前端 未结 6 943
我寻月下人不归
我寻月下人不归 2020-12-02 10:18

First let me say I\'ve never used PHP but I\'m looking to learn it, so my question is this how do you use PHP within Visual Studio Ultimate? is it similar to how you declare

6条回答
  •  一生所求
    2020-12-02 10:55

    Maybe we should help you with a big misunderstanding on your side first: PHP is (like ASP.NET or whatever you used to far) a server side language while javascript is client side.

    This means that PHP will run on your webserver and create a HTML page dynamically which is then sent to the browser. Javascript in turn is embedded (either directly or as a referenced file) into this HTML page and runs in the browser.

    Maybe you can now understand why your approach so far could never work out.

提交回复
热议问题