PHP Variables
PHP Variables is used to hold different types of data in the webpage.
Variable Syntax:
$VariableName=value;
Code Explanation
- $ is used to specify that this is a PHP variable.
- VariableName is the name of the variable.
- = is used to set the value of a variable.
- value is used the value you can store in the variable you can store any type of value like integer, double, string, float etc.
Click Here To Read PHP Variables Tutorial