Hi, I can use if (count($somearray) > 0) to test for an empty array. It is possible to have an array with null values which is effectively empty but fails the above as it's count (I belive is greater than 0). Any ideas -- zzapper Success for Techies and Vim,Zsh tips http://SuccessTheory.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php