Head php book Day1 learning

start why with php

what is php?
Server side scripting language means it will be processed on the server(its an computer from server side)Html rendered in a browser . how to connect php and html to process a data?
Through the action attribute in a form tag or through superglobals,Eventhough we saved as .php file ,whats the reality is we will see a purely HTML page. Why php scripts run on the server? unlike html,css,javascript they are not added to browser can we add it? it is interpreted by php interpreter program.you can’t just add a PHP interpreter to your browser. It doesn’t know what to do with scripts and isn’t built to interpret PHP.
But you need a web server why?
A web browser can't interact with php interpreter ,but a webserver could interact with it.it is stored on server. whether html,css and javascript aren't stored on servers? Server interprets php only.but it stores html,css,javascript on the servers too.

server.png