Below is an example, of how and why to use variables.
PHP:
<?php
$myName = "prodigy"; // This declares my name AS prodigy
echo $myName; // This prints the variable stored for myName, easy right?
?>