What is the use of PHP explain with syntax?

What is PHP?
PHP: Hypertext Preprocessor(Recursive Acronym)
Server Side Programming/Scripting Language
Can be embedded directly within HTML (<?php ?>)
Files use a “.php” file extension.

If… statement:-

if… and nested if :-

if…else Statement:-

if…elseif…else Statement:-

While Loop:-

Nested While loop:-

Do While loop:-

Nested Do While loop:-

For loop :-

Nested for loop :-

Ajay K
Follow me
Total Page Visits: 151 - Today Page Visits: 2