1. Computing

Discuss in my forum

Variable

By , About.com Guide

Definition: A variable is a character or string used to represent a value. It can represent a single value or an expression consisting of other variables. In the case of PHP a variable is used to represent any other data and always begins with a dollar sign [$].
Examples:
 X = 5 

In this expression, X is a variable

 Y = 4 * Z

In this expression Y is a variable, as is Z

 $cat = "Spot"; 

In PHP a variable is defined with a dollar sign [$] as $cat is above.
  1. About.com
  2. Computing
  3. PHP / MySQL
  4. Programing Glossary
  5. PHP Variable - Programming Variable - Math Variable

©2013 About.com. All rights reserved.