PHP Variables Using Arithmetic Operators
We already learn about how to create variables and store data or information in it. Now we will learn how mathematics can be done through variables. There are many operator to perform all these function.
PHP Variables and Includes
Suppose, we are making a project and the project is big enough that all the work cannot be done in one file or application and it will be complicated. So, i suggest you to divide your project into different files.
PHP Variables Across Files
We know how Variables and Cookies are important to take information from one page
to another but it also involves so many drawbacks. Like, cookie can't store the
specific variable information on the user's computer or variables can't take
information to every new page. For this reason we use PHP session variable.
PHP Array Variables
An array is a storage area of multiple values. Where you can add or remove multiple values with the help of array. In simple variable we can store only value at one time but in array variable we can store multiple values.
PHP Variable Across Pages
PHP provides various techniques to do so, there are many pre-defined variables are used to pass values from one page to another, like $_GET, $_POST etc, these variables store the information.