Comments in PHP

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”;

Comments in PHP
Next, you can learn  Displaying Data PHP.

Leave a Reply

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

Previous post Studying Writing Javascript in HTML
Next post What are the functions and procedures in Python