multi array wildcard

From: Date: Mon, 24 May 2004 21:32:59 +0000
Subject: multi array wildcard
Groups: php.general 
Request: Send a blank email to php-general+get-186853@lists.php.net to get a copy of this message
Is there a shortcut way to turn an subelement in a multi-dimensioned array into a regular array. For example, here's my array: // print_r($users) Array (
    [1] => Array
        (
            [name] => John
            [email] => john@domain.dom
        )
    [2] => Array
        (
            [name] => Chuck
            [email] => chuck@domain.dom
        )
) I'd like a quick conversion for the names to Array (
    [1] => John
    [2] => Chuck
) Something like $users[*]['name'] Thanks, John

« previous php.general (#186853) next »