Echo, PHP Statement, Print, Concat and Comments in PHP

In Previous chapter, we’ve learned about variable and it’s data types. Today, we’ll learn also some important thing in PHP programming language.
1. echo
2. print &
3. commenting in PHP code

## echo
In PHP, to output something to display/console/browser, we can use `echo` or `print`. So, echo is used to print / output something in browser.

Let’s we want to show `Welcome to learn PHP`, so that’s simple –
“`php

“`

**Output:**
<div clas

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top