putList()
is intended to save an array to multiple internal variables, so please place is below the }
, and only name the question, not the variable itself, that is:
$schedule[] = createDay($numOld, $numNew, $daySpecialItems, $valenceCondition, $words);
}
putList('IV02', $schedule);
return $schedule;
}
You may also want to add a debug()
to see, if $schedule
works properly:
$schedule[] = createDay($numOld, $numNew, $daySpecialItems, $valenceCondition, $words);
}
putList('IV02', $schedule);
debug($schedule);
return $schedule;
}
And most importantly, make sure not (!) to drag the IV02
question on the page. It that still does not work, please post the debug information from that page.