- echo - output one or more strings. echo() is not actually a function (it is a language construct), so you are not
required to use parentheses with it.
Let’s try to write a simplest script.
Open a new document in HTML-Kit and insert between <body> </body> tags, below PHP code:
Example 3: (<br> is a html tag that we used to break the string.)
<?php