PHP Echo Command
The most fundamental, and probably most often used PHP command is echo. The PHP echo command simply outpt text to the web browser.
A simple echo command inside a PHP block of codes should looks like:
<?php
echo "Hello World";
?>
A typical example of PHP echo command placed in HTML document should look like:
<html>
<head>
<title>PHP Tutorial</title>
</head>
<body>
<h1>PHP Echo Command Example</h1>
<?php
//PHP commands here
echo "Hello World";
?>
</body>
</html>
The output of the above typical PHP example should look like:
PHP Echo Command Example
Hello World