.
Divya
In PHP the echo() function is usd to outputs one or more strings.
echo(strings)
<!DOCTYPE html>
<html>
<body>
<?php
echo "Hello world!";
?>
</body>
</html>
Hello world!
<!DOCTYPE html>
<html>
<body>
<?php
$string="Hello world!";
echo $string;
?>
</body>
</html>
Hello world!
.