Writing " hello world " in firsth function is a classic. As you know, PHP is a programing language which is using on server base. In echo scanner (firefox, Ie etc.), this function is good for writing variable in echo.
For Example :
<?php
echo "HELLO WORLD!!";
?>
If you want yo can write in more than one line.
<?php
echo "Such a
nice
day ";
?>
And best part of echo function, you can use html tags in echo.
<?php
echo "HELLO WORLD!!//
next line ";
?>
The last type of using is very helpful in some situations. For example, you'll view a saved file from database, you can list them with html tags.
No comments:
Post a Comment