7Nov/090
PHP Commenting your code
You may have noticed that I have commented the code and if you have tested any of the scripts so far you will have noticed that these do not effect the script itself, these are great for developers to take note of lines of code, greater understanding by other developers as to why you have done certain things and a lot of developers use the multiple line comment to display licensing information, here are the different types of comment you can use:
<?php // This is a single line comment # This is also a single line comment /* This is a multiple line comment */ ?> If you wish to comment in HTML then use the following: <html> <title></title> <body> <!-- Your comment here --> <?php // Code here! ?> </body> </html>
No related posts.

