Changes

Jump to: navigation, search

Understanding PHP Variable Types

51 bytes added, 19:24, 25 May 2007
The PHP Boolean Variable Type
== The PHP Boolean Variable Type ==
The PHP boolean variable type variables holds a value of ''true'' or ''false'' and are used to test conditions such as whether some part of a script was performed correctly. We will look at using boolean values in greater detail when we look at [[PHP Looping and Flow Control]], with particualr regard to tyhe ''if'' statement. It is useful to know that the ''true'' and ''false'' values are actually represented internally by PHP as the numbers 1 and 0 respectively.
== The PHP String Variable ==

Navigation menu