[PHP] Tutorial Four Comments 02-21-2013, 03:36 AM
#1
Comments are like notes. You can put a note on your code and can read it when you want.
A single line comment is used like this
A multiple line comment is like this.
This allows you to read your code. If your working with a big team or small team. It saves time and you don't need to read every line of the code to see what it does.
Note: If you need any help and I have not yet made a tutorial for it please visit php.net.
A single line comment is used like this
PHP Code:
<?PHP
$number1 = 1; //This is number 1!
?>A multiple line comment is like this.
PHP Code:
<?PHP
$number1 = 1;
/* This is number 1!
This is also in the comment.
*/
?>This allows you to read your code. If your working with a big team or small team. It saves time and you don't need to read every line of the code to see what it does.
Note: If you need any help and I have not yet made a tutorial for it please visit php.net.

![[+]](https://sinister.li/images/modern/collapse_collapsed.png)