$b_id = 'm'; $x_id = NULL; /*This statements DOES echo*/ if($b_id > ""){echo 'b_id > empty string
';} /*This statement DOES NOT ECHO ANYTHING because NULL can't be compared to an empty string. */ if($x_id > ""){echo 'x_id > NULL';}