> 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['truefals
I would simply build the array more specifically, so that it doesnt
include things you dont want.
Jason
On Tue, 27 Jul 2004 16:20:02 -0500, Alex Hogan
<[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I have a page where I'm collecting answers from a series of questions.
> The questions are entered into t
Hi All,
I have a page where I'm collecting answers from a series of questions.
The questions are entered into the array one at a time so I can keep
track of paging.
$arans = array($_POST);
$_SESSION['arans'][$pageid] = $arans;
Then I want to check the sum of the array for scoring purposes
3 matches
Mail list logo