PHP Programing language

echo() Function in PHP
Previous Home Next

echo()

echo() function output one or more strings.

Syntax:
echo(strings);

Example1:

<?php 
echo "Hello world..!!"; 
?>

Output:

Hello world..!!

 

Example2:

<?php
$str = "Gud Morning..!!";
echo $str;
echo "<br>Have a nice day!!!";
?>

Output:

Gud Morning..!!
Have a nice day!!!

Previous Home Next

Tolal:0 Click:

Show All Comments

Did not find what you were looking for leave your name and message. We will revert within 24 hours
Name:
eMail:
Comment / Feedback: