Question: how php is different from php script?
Answer: A script is a set of programming instructions that is interpreted at runtime. ... PHP is a server side script that is interpreted on the server while JavaScript is an example of a client side script that is interpreted by the client browser. Both PHP and JavaScript can be embedded into HTML pages.