Comments in PHP intended to provide an explanation for the program that has been written. Such information will be very useful when other programmers aiming to understand flow program that has been written or make it easier for programmers when it will develop a program that has been created. There are some signs and patterns that can be used as comments, among others:
- Style in C ++ -> //
- Style language C -> /*....*/
- Style shell with -> #
<? php
echo "Attempted wear comment <br>";
// echo "will not be displayed because this is a comment";
echo "The above line will not be displayed as a comment";
?>
Next, you can learn Displaying Data PHP.

Comments