PHP - Programming Language
This course covers the basics of programming in PHP. Work your way through the videos and we'll teach you everything you need to know to start your programming journey!


Lesson 6
Author : Mike Dane
Last Updated : November, 2017


Names are case-sensitive and must start with '$' then:
   letters, _
After, may include
   letters, numbers, _
Convention says
   There is no set convention, people will use camel case but also underscores
   ex. myFirstVariable
   ex. my_first_variable

$characterName = "George";
$characterAge = 70;

echo "There once was a man named $characterName <br>";
echo "He was $characterAge years old <br>";
echo "He really liked the name $characterName <br>";
echo "But didn't like being $characterAge <br>";