Description
The echo() command has one purpose, displaying whatever you put in between the brackets. Learn to use it to your advantage.
Try It Out
<?php echo ""; ?>
There is your echo command. For now, it does nothing. It has no value to display.
Outcome
This is my text.
Now this echo command has a value to display. Whatever you replace "This is my text." with will be displayed.
Alright, lets move onto the next step. This time, we will include a variable in the echo command.
$var = "This is a variable";
echo "$var. Congratualations, you just parsed a variable in an echo!";
?>
Outcome
This is a variable. Congratualations, you just parsed a variable in an echo!
Got it? The variable ($var) had a value, and when you placed $var in the echo command, it was displayed. Sounds like a different language, right? Its ok if you don't understand yet, with some practice you will eventually understand it.
These are the basics of the echo() comand. Not much to it if you are a beginner, but as you progress, there is much more.

