PHP Basic Tutorial
MySQL Connection
PHP comments can be used to describe any line of code so that other developer can understand the code easily. It can also be used to hide any code. Comments in PHP are lines of code ignored by the PHP engine during execution.
Single-line comments are used to comment out one line or part of a line of code. There are two ways to create single-line comments:
Try it yourself
Try it yourself
Multi-line comments are used to comment out multiple lines of code. They start with /*
and end with */
.
Try it yourself