Posted by Dave Mennenoh on 02/12/06 00:44
....good one-liner... This is what I came up with: function isEmpty($array){ return (count(array_filter($array)) == 0) ? 1 : 0; } returns 1 if all elements are "" otherwise it returns 0. -- Dave - www.blurredistinction.com www.macromedia.com/support/forums/team_macromedia/
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming