PHP echo() function
In this article, We will explain to you PHP echo() function with example.
PHP echo() function
The echo() function is a string function and not actually a function. which is used to print one or more strings. so we can use parentheses or without it. so you can see our PHP String Function example.
Syntax
echo(string);
Example
<?PHP echo("This is My website"); echo "
"; echo "This is My website"; ?>
Output
This is My website This is My website