Return to Snippet

Revision: 32518
at September 27, 2010 21:07 by Masis


Initial Code
<html>
 
<body>
 
<?php
 
echo " oheon.com";
 
?>
 
</body>
 
</html>
 
To make a single-line comment, use //. To make a large comment block, use  /* and */. See the example below:
 
<html>
 
<body>
 
<?php
 
//This is a comment
 
/*
 
This is
 
a comment
 
block
 
*/
 
?>
 
</body>
 
</html>

Initial URL
http://phpforms.net/tutorial/tutorial.html

Initial Description
PHP scripting block can be placed anywhere in the document. It always starts with <?php>.
    The example of PHP code below sends the text “Oheon.com” to the browser:

Initial Title
Basic PHP Syntax

Initial Tags
php

Initial Language
PHP