True and False these tow or some special meaning and called Boolean values. True is usually given a value of 1 and False is given a value of zero. You can initialize the values as :
$true_value = 1;
$false_value = 0;
You can replace the 1 and 0 with the words "true" and "false" (without the quotes).
The out put is very simple
True value=1
False value=
False value print nothing.
You can also compare the True value and False value in If statement in following way
$value = true; if ($value) { echo "This is True"; }
This is a short cut method of writing if( $value==True).
Variables in PHP
PHP Concatenation
Calculation in PHP
If Statements in PHP
if ... else Statements in PHP
Nested IF Structure in PHP
PHP Comparison Operators
Switch Statement in PHP
Logical Operators In PHP
PHP Booleans
FOR Loop in PHP
While Loop In PHP
foreach Loop In PHP
Break Statement
Array In PHP
Associative Array
The Count function
Changing Case Function
Trim Function In PHP
Str_shuffle( ) function
strpos function in PHP
Explode() Function in PHP
Function
Passing Function Arguments
Server Variables
Header Function
Include Function
The require Function