On January 23, 2010, In PHP, by pankaj_eng
Echo is not a function but it is a constructor, So you are not require parentheses with it. Echo simply mean output all parameters.
How echo is used in PHP.
Echo As String:
<?php
echo “Hello Neepan Tech”;
?>
Echo with Concatenation:
<?php
echo “Hello” . “Neepan Tech”;
?>
Combining two string with the help of echo.
Echo with HTML TAGS:
<?php
echo “Hello” ;
echo “<br />”;
echo “Neepan Tech”;
echo [...]
