Learn the basics syntax & tag of PHP in Syntax overview tutorial for beginner .A brief on PHP Syntax overview with features and advantages of using PHP Syntax.

In the previous post that is Day1 program, you learn what is php and Which thing is required before starting PHP language.And Now it is Day2 Program, where we will learn Basic Syntax of PHP language.

Please follow steps what we have defined:-

a>PHP syntax Script always Start with :-

and ends with:-

b>PHP code needs to be written in a block like:-

c>All statements (instructions) must end with semi-colon (;).



d>To write comments in PHP you will use // (for single comment) and /* */ (for multiple lines comment).


e>The PHP code block can be placed in the head section or body section of the web page.



Other PHP Tutorials post :- 

<<<<< PHP tutorial for variable scope and type of variable – Day 3 beginner

<<<<< PHP tutorial for beginner Day 1 – Introduction and Installation.