- Single line Comment
Single line comments can be specified by //
Ex:
<?php
// This script print Hello World in the browser
echo "Hello World"
?> - Multiple line Comment
Multiple Line Comment begins with "/*" and ends with */.
Ex:
<?php
/* This is a multiple line comment You can comment
any no of lines within this block
*/
echo "Hello World"
?>
This blog supports beginners to get deep knowledge about programming in HTML, CSS, JavaScript, php, asp and other Web technologies and VB, VB.net, Java,step by step from the beginning. All the programming Concepts discuss with simple examples for the readability. Try out daily uploaded lessons to be a Programmer.
PHP - Comments
There are 02 comments used with PHP scripts.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment