View Single Post
Old 03-11-2008, 07:31 PM   #6 (permalink)
TlcAndres
The Addict
 
Join Date: Nov 2007
Posts: 264
Thanks: 2
TlcAndres is on a distinguished road
Default

PHP Code:
function processArray($post=array())
{
    
$misArrs true;
    foreach(
array_keys($post) as $key)
    {
        if(empty(
$post[$key]))
        {
            
$misArrs[] = $key;
        }
    }

    return 
$misArrs;

Haven't tried it but it should work fine and dandy.
__________________
"What everyone seems to forget is that while knowledge certainly is something - it's the implementation of knowledge that brings power" - Andres Galindo.
TlcAndres is offline  
Reply With Quote