Create a dynamic website with PHP
Difficulty: Beginner ● Progress: 0 / 0 modules completed
Using Variables
What is a variable?
A "variable" is a kind of virtual box that allows you to store information. It can store a number, a text, a date, a time, or other types of data available in programming.
Variables are often required to change value as the code is executed by the machine, hence their name, but sometimes they keep the same value throughout the entire program!
However, variables have a lifespan: they are automatically deleted at the end of the execution of the script in which they are used.
You need a free account to read this module