why is echo needed in php ??
I need a detailed info .
display the statement
you use alternative print
php using echo can create HTML code or just display all results of your action. Its basic output method.
for printing outputs
You are needing echo for putting out variables and other different things like math excercises or simple text. Greeting
echo is used in php toh print the output of the program on screen
Echo is used in php to print the code in the form of output
To print something on web page if we needed we use echo and we can also use print
echo is a statement which is used to display the output. It can be used with parentheses echo or without parentheses echo. echo can pass multiple string. echo doesn't return any value. echo is faster than print.
echo is used for output print