Current course:

echo


"echo" is a language construct that ouputs one or more strings.

echo "Hello World!";
This will output "Hello World".

You can also echo multiple lines:
echo "This is a
sentence that spans
multiple lines";

And you can echo variables:
$name = "John Doe";
echo $name;

You can also echo HTML tags:
echo "<img src='images/caricature.jpg' height='150' width='120' alt='caricature' />";
Notice you must use different quotation marks, or it will think you're ending the echo mid-way.
caricature

Shorthand echo: <?=$name?>