PHP Core / Basics / Variables
Variables
-
STEP
Variable is a container used to store data Eg: An excel file name is a variable. It contains data
1. Define variable or variable assignment
Syntax:
$variable_name = value; 1. $ sign must be in front of the variable name
2. = sign is for assigning the value to a variable2. read variables
3. output the variable data into browser
4. Change the value of a variable
5. Display the data user friendly
Name Age DOB