An Introduction to PHP Variables

From Techotopia
Revision as of 14:00, 25 May 2007 by Neil (Talk | contribs) (New page: A large part of writing scripts and programs involve the handling and manipulation of data. Data can take many forms, ranging from single cahracters to whole words and sentences, to number...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

A large part of writing scripts and programs involve the handling and manipulation of data. Data can take many forms, ranging from single cahracters to whole words and sentences, to numbers and even true and false values. In object oriented environments such as PHP, the data can also be in the form of an object which is a self contained module which contains various pieces of data of different types.

When working with data values in PHP we need some convenient way to store these values so that we can easily access them and make reference to them whenever necessary. This is where PHP variables come in.