Changes

Jump to: navigation, search

Understanding PHP Variable Types

2 bytes removed, 19:25, 25 May 2007
The PHP Boolean Variable Type
== The PHP Boolean Variable Type ==
PHP boolean type variables holds hold 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 particular regard to tyhe the ''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