Visit the Official PHP Website
By James N Hitz
Into Lesson 8
Before we start, please allow me to bring up the long overdue subject on comments. What is a comment?
A comment is a line of text within your code that will not be used when the code executes.
If you ask "then why bother" the answer is: "code can at times get lengthy and complex. At such times, comments can serve as logical divisions of the code. Comments can also provide explanation to the code for future reference. Computer nerds know that you can create a code segment today, look at it two months later and you can't understand it - at least not immediately. To save your time, comments are worthwhile"