if(!empty($variable)) On Fri, 26 Mar 2004, Marcjon Louwersheimer wrote:
> Is there an easier way to do > isset($variable) AND $variable != NULL > ? I use this alot in my if statements, and I was wondering if there's an > easier way to do it, maybe with a single function? Oh and another > question... how does if ($variable) work? When does it evaluate true? > -- > Marcjon > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php