Current course:

PHP Variables


Variables in PHP are represented by a dollar sign followed by the name of the varialbe. Varibles ARE case sensitive.

$var = "Hello World!";
echo $var;

$var = "Goodbye World!";
echo $var;