PHP Variables
A variable is used to store any value that you like.
You can reuse variable in any block of code in your PHP script.
PHP variables must start with a dollar ($) sign.
PHP Variable Syntax
$variable_name = value;
Below is an example of how to use variables in PHP: