There are three types of comments in PHP:
<html> <head> <title>PHP</title> <meta Name="Author" Content="Hann So"> </head> <body> <p> <?php /* Start the text using an HTML tag too */ print <<<END Displaying here documents <br /> until the end of the token. <br /> END; // display a text echo "Hello World<br />"; # display another text echo "Welcome to PHP."; ?> </p> </body> </html> |