> Ten separate arrays with an array at 0 that has the data I'm after. > This is where I'm getting stuck. How can I get to the keys that are > either 'mc' or 'truefalse' and sum them?
foreach my man http://us2.php.net/foreach foreach ($_SESSION['arans'] as $arans) { $truefalse += $arans['truefalse']; $mc += $arans['mc']; } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php