Possible Duplicate:
Regarding if statements in PHP
this is a simple question. But Here I need to know how if condition work with only one variable.
$category='';
if ($category) {
}
can you tell what actually check in If condition? Condition has only one variable..
is it checking variable is TRUE or FALSE?