0
Why use echo?
I'm just started learing please help me
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"; ?>
+ 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