Why use echo? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why use echo?

I'm just started learing please help me

19th Mar 2017, 8:23 AM
Fahad Popz
Fahad Popz - avatar
2 Answers
+ 7
Learn from the course provided by SoloLearn. They are very useful. However, echo in PHP is used to print something on screen. eg. <?php echo "Hello! Check the PHP course now"; ?>
19th Mar 2017, 8:33 AM
Sachin Artani
Sachin Artani - avatar
+ 4
by echoing, the server sends the echoed text to the client. basically your browser will be able to render only the echoed information. you can echo also html
19th Mar 2017, 6:54 PM
seamiki
seamiki - avatar