Workflow of PHP

PHP - Work

Browser –> Server(PHP) –> Database

PHP is such a language by allowing the processing to be embedded right in the server . A PHP script can be embedded right in the Web page. It can generate HTML and images on the fly, retrieve up-to-date information from a file or database, encrypt data, remember user preferences, and so on. It executes PHP instructions and inserts the results right back into the Web page before the server sends the page back to the browser, thus making the page truly dynamic.