|
-
Oct 8th, 2012, 08:34 AM
#3
Thread Starter
Fanatic Member
Re: Rearranging Multidimensional Array
$listLineStatsNumbers=getbwStatsNumbers();
foreach ($listLineStatsNumbers as $listLineStatsNumbersIndexForTime => $listLineStatsNumbersValueForTime)
{
$dataToUse[$listLineStatsNumbersValueForTime['bandwidthlocalTime']]["bandwidthTx_" . $listLineStatsNumbersValueForTime["bandwidthAdapter"]] = $listLineStatsNumbersValueForTime['bandwidthTx'];
$dataToUse[$listLineStatsNumbersValueForTime['bandwidthlocalTime']]["bandwidthRx_" . $listLineStatsNumbersValueForTime["bandwidthAdapter"]] = $listLineStatsNumbersValueForTime['bandwidthRx'];
}
Figured it out! Wasn't as complex as I made it out to be XD.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|