PHP COMMENT METHODS - PHP LESSON 3 STUDENTSBLOG100

Comments are used to re-edit the php statements easily. When we are creating the php programs, we should add comments for each complicated lines. If we do like this,it will be very helpful to re-edit the php coding.That is,comments denotes, for what purpose the particular statement is used in this program.

Types of Comments in PHP:
  • Single Line Comments
  • Multiple Line Comment
Single Line Comments
  • //
  • #
Multiple Line Comment
  • /*........................*/
PHP Comments example:
These comments will not be executed by the server.We can see comments only in the source coding.

Lesson 2 Previous | Main Page | Next Lesson 4

Previous
Next Post »