Help w/ arrays
Date: 01/18/07
(PHP Community) Keywords: php
I need to take this
Array ( [ccurry] => Array ( [CCR] => ccurry )
[shaywood] => Array ( [CCR] => shaywood )
[lrichmond] => Array ( [CCR] => lrichmond )
[tlambeth] => Array ( [CCR] => tlambeth )
[lgrant] => Array ( [CCR] => lgrant )
[bhudson] => Array ( [CCR] => bhudson )
[lscott] => Array ( [CCR] => lscott )
)
And get an array of just the usernames out of it. Is there a php function to do this or do I need a loop or what?
Source: http://community.livejournal.com/php/531676.html
|