How to Create Comment in PHP

How to Create Comment in PHP

In this article, you will learn How to Create Comment in PHP. in PHP but doesn’t run then use the comment. A Comment is used for the written code will not work.

Two Ways to Create Comment

Method1

// is used for comment single line.

<?php
//echo "Welcome to";
echo "Hub Of Tutorials";
?>

Method2

/* */ is use for comment the Multiple Line

<?php
/*
echo "Welcome to";
echo "Hub Of Tutorials";
*/
?>

Leave A Reply