1 Echo, variables and strings
PHP code lives between <?php ?> tags. Variables start with $. echo outputs text; . concatenates strings.
<?php
$name = "World";
$greeting = "Hello, " . $name . "!";
echo $greeting;
echo "\n";
echo "Length: " . strlen($greeting);