Better use is empty(), which supports array as parameter:
$test = array();
if(empty($test)) // true
{
// code...
}
else // false
{
}Emil Novak, Slovenia, EU -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

