PHP lecture 2....
>> VARIABLE IN PHP :--- Variables are containers which is used to store information. Types of Variables:-- 1. Local Variable. 2. Global Variable. 3. Static Variable. >>VARIABLE DECLARATION :-- In PHP, variable names begin with " $ " sign, followed by a name. Ex :- $roll, $price, $name. >> RULES FOR DECLARING VARIABLES :-- 1. Variable starts with ' $ ' sign. 2. Variable name only starts with a letter, an underscore( _ ). 3. Variable name cannot start with a number. 4. It is case sensitive. 5. Do not use predefined constant name. For ex :- PHP_VERSION, PHP_OS, etc.... 6. Do not use reserved keywords. For ex :- else, if, etc.... >> VARIABLE INITIALIZATION :-- > PHP can store all type of data in variables. Before using a variable in PHP, we have to assign a value to it, so that PHP will create that var...