PHP tutorial for beginner Day 2 – Syntax overview and tag

PHP Tutorial for beginner- PHP Syntax Overview

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 Posts:-

<--PHP Tutorial day1                               PHP Tutorial day3–>

Leave a Reply

Your email address will not be published. Required fields are marked *

CommentLuv badge