Categories

Updated: 07/21/2005

Variables in PHP

Variables are nothing but identifiers to the memory location to store data. We can create any number of varibles. In PHP all the variables begin with a dollar sign &"$&" and the value can be assignes using the &"=&" operator as shown below: Another important thing in PHP is that all the statements must end with a semicolon &";&". In PHP we needn''t have to specify the variable type, as it takes the data type of the assigned value. From the above example we understand that ''$Name'' is of Data type String and ''$Age'' is of type Numeric.
©2003-2019 jCay.com