Comments will help you and other developers to understand what you were trying to do with the PHP code. Comments are ignored by the PHP Engine and are not displayed in Output.
There are two types of comments in PHP
Single line comments in PHP begins with //, Let's check the following example
<?php echo "Welcome to America"; // This is a comment ?>
Multiline comments begin with /* and end with */
<?php /* @author: Developer Name Purpose: Simple Display echo statement */ echo "Welcome to America"; // This is a comment ?>0 0
Please Login to Post the answer