why is echo needed in php ?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

why is echo needed in php ??

I need a detailed info .

17th Jul 2016, 7:52 AM
విఠల్ N
10 Answers
+ 4
display the statement
18th Jul 2016, 1:09 PM
Amit - avatar
+ 3
you use alternative print
18th Jul 2016, 8:27 AM
Amit - avatar
+ 2
php using echo can create HTML code or just display all results of your action. Its basic output method.
17th Jul 2016, 9:45 AM
Gabriel Janczak
Gabriel Janczak - avatar
+ 2
for printing outputs
17th Jul 2016, 12:33 PM
noushad mohammed
noushad mohammed - avatar
+ 2
You are needing echo for putting out variables and other different things like math excercises or simple text. Greeting
17th Jul 2016, 12:38 PM
Tom Stahlberg
Tom Stahlberg - avatar
+ 2
echo is used in php toh print the output of the program on screen
18th Jul 2016, 5:14 AM
Arpit Bhati
Arpit Bhati - avatar
+ 2
Echo is used in php to print the code in the form of output
18th Jul 2016, 12:41 PM
+ 2
To print something on web page if we needed we use echo and we can also use print
16th Jan 2017, 4:12 PM
[No Name]
[No Name] - avatar
+ 1
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.
19th Jan 2017, 2:48 AM
Vaishak KB
Vaishak KB - avatar
echo is used for output print
17th Jan 2017, 8:45 PM