echo Function in PHP
What is echo Function and how it is used in string?
Explanation
The echo function is used to output one or more string in PHP.
Syntax:
echo(strings)
In the above syntax "strings" represents one or more string to be outputted.
Example :
<?php
$str = "Hey how are you!";
echo $str;
echo "HIOX INDIA";
?>
Result :
Hey how are you!
HIOX INDIA
In the above echo function example explains that it does'nt require a "()" as it is not actually a function.