Role of PHP in Web Applications
PHP is a server side scripting language. That means its processing happens in the server by consuming server’s resources and sends only the output to the client. In a client side scripting language like JavaScript, processing happens in the client’s computer consuming its resources.
To understand the role of PHP, let’s look at how a normal web request and a web request that involves PHP happen. Please note that there can be many intermediate steps involved but only the main and important ones have been mentioned for understanding purposes.
Cycle of a Normal Web Request

Cycle of a Web Request That Involves PHP

Dynamic Content
You might have probably heard that “using PHP you can create dynamic web sites”. To understand what “dynamic” means here, let’s take a look at

Amazing! Thanks for the quality information.