Echo
This statement is used to output the data to the screen or printing text on
screen.
Ex: –
![](https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/07/echo_php.png)
echo with HTML
![](https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/07/echo_with_html-1024x403.png)
echo with Variables
![](https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/07/echo_with_variables.png)
This is very similar to echo statement a way of displaying text.
Ex-
![](https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/07/print_echo-1024x292.png)
Latest posts by rajeshkumar (see all)
This statement is used to output the data to the screen or printing text on
screen.
Ex: –
This is very similar to echo statement a way of displaying text.
Ex-