Wednesday, November 7, 2012

Learning PHP - Comments

Comments
- To avoid confusions, getting lost in long lines of scripts or codes, comments are very useful.
- They make programs easier to understand.

Comments syntax in PHP:

// to make a one-line comment
/*    */ to make a block comment

In PHP, comments are colored green.


No comments:

Post a Comment

Popular Posts