Posted by Chris Hope on 03/08/06 03:17
namemattersnot@msn.com wrote:
> Re,
>
> I have the following array:
>
> $my_array[x]['date']
> ['time']
> ['filename']
>
> how do I create a $time_array that will ONLY have all values of
> $my_array[x]['time']? i can write a function to walk through the
> associative array, but is there a more efficient method?
Would this do what you want?
$foo = $my_array[x]['time'];
--
Chris Hope | www.electrictoolbox.com | www.linuxcdmall.com
[Back to original message]
|