What’s a variable?
A variable is a placeholder for information within a PHP script.
In PHP, a variable is a single piece of information. It always starts with a dollar sign ($).
Example: $myname
Variables are essential to all programming, and very useful. For example, you can use a variable to easily change "brown eyes" to "blue eyes" in a PHP script:
$eyecolor="brown"
As the old song says, "Don’t it make my $eyecolor eyes blue..."