Press "Enter" to skip to content


PHP Comment

The commnet is the line/or group of lines in PHP script that will not executed .There are several way to write commnet.

Inline Comment

PHP supports this type of commenting by using two consecutive forward slashes(//) pceceding any comment added.

Block Comment

block comments can start with a forward slash followed by an asterisk (/*), then close with an asterisk followed by a forward slash (*/)..

Example for PHP Comment

//This is Inline Comment
echo “Welcome to”
/*This is Bloack comment
My First Progam
#Creation Date