The syntax for php is shown below. It starts with the opening tag
and ends with the closing tag
In between we will write our code.
A php file will be having the extension .php. HTML’s can be also embedded into a php file. Php scripts are executed on the server and the results are displayed on the web broswer ie firefox or chrome. Each code line in php must end with a semicolon (;) . Now we will move on to writing your first php program on the next tutorial.