okay, vielen Dank.
Ich habe die Rotation der Items jetzt mittels shuffle() erzeugt.
Die Wiederholungen habe ich nun mit loopPage() gemacht. Aber jetzt wird mir die Meldung:
Sie speichern Zusatz-Daten (%fragen%) mit mehr als 2 KB in diesem Interview. Bitte verwenden Sie für umfangreiche Platzhalter den Befehl show() anstatt replace().
angezeigt.
Mein aktueller PHP-Code lautet:
loopToPage('loopend', 14);
$fragen = array(
0 => array('G101', 'G102', 'G103', 'G104', 'G105','G106', 'G107', 'G108', 'G109', 'G110','G111', 'G112', 'G113', 'G114','G115', 'G116','G117', 'G118', 'G119', 'G120','G121', 'G122','G123', 'G124', 'G125', 'G126','G127', 'G128'),
1 => array('G201', 'G202', 'G203', 'G204', 'G205','G206', 'G207', 'G208', 'G209', 'G210','G211', 'G212', 'G213', 'G214','G215', 'G216','G217', 'G218', 'G219', 'G220','G221', 'G222','G223', 'G124', 'G125', 'G226','G227', 'G228'),
2 => array('G301', 'G302', 'G303', 'G304', 'G305','G306', 'G307', 'G308', 'G309', 'G310','G311', 'G312', 'G313', 'G314','G315', 'G316','G317', 'G318', 'G319', 'G320','G321', 'G322','G323', 'G324', 'G325', 'G326','G327', 'G328'),
3 => array('G401', 'G402', 'G403', 'G404', 'G405','G406', 'G407', 'G408', 'G409', 'G410','G411', 'G412', 'G413', 'G414','G415', 'G416','G417', 'G418', 'G419', 'G420','G421', 'G422','G423', 'G424', 'G425', 'G426','G427', 'G428'),
4 => array('G501', 'G502', 'G503', 'G504', 'G505','G506', 'G507', 'G508', 'G509', 'G510','G511', 'G512', 'G513', 'G514','G515', 'G516','G517', 'G518', 'G519', 'G520','G521', 'G522','G523', 'G524', 'G525', 'G526','G527', 'G528'),
5 => array('G601', 'G602', 'G603', 'G604', 'G605','G606', 'G607', 'G608', 'G609', 'G610','G611', 'G612', 'G613', 'G614','G615', 'G616','G617', 'G618', 'G619', 'G620','G621', 'G622','G623', 'G624', 'G625', 'G626','G627', 'G628'),
6 => array('G701', 'G702', 'G703', 'G704', 'G705','G706', 'G707', 'G708', 'G709', 'G710','G711', 'G712', 'G713', 'G714','G715', 'G716','G717', 'G718', 'G719', 'G720','G721', 'G722','G723', 'G724', 'G725', 'G726','G727', 'G728'),
7 => array('G801', 'G802', 'G803', 'G804', 'G805','G806', 'G807', 'G808', 'G809', 'G810','G811', 'G812', 'G813', 'G814','G815', 'G816','G817', 'G818', 'G819', 'G820','G821', 'G822','G823', 'G824', 'G825', 'G826','G827', 'G828'),
8 => array('G901', 'G902', 'G903', 'G904', 'G905','G906', 'G907', 'G908', 'G909', 'G910','G911', 'G912', 'G913', 'G914','G915', 'G916','G917', 'G918', 'G919', 'G920','G921', 'G922','G923', 'G924', 'G925', 'G926','G927', 'G928'),
9 => array('GA01', 'GA02', 'GA03', 'GA04', 'GA05','GA06', 'GA07', 'GA08', 'GA09', 'GA10','GA11', 'GA12', 'GA13', 'GA14','GA15', 'GA16','GA17', 'GA18', 'GA19', 'GA20','GA21', 'GA22','GA23', 'GA24', 'GA25', 'GA26','GA27', 'GA28'),
10 => array('GB01', 'GB02', 'GB03', 'GB04', 'GB05','GB06', 'GB07', 'GB08', 'GB09', 'GB10','GB11', 'GB12', 'GB13', 'GB14','GB15', 'GB16','GB17', 'GB18', 'GB19', 'GB20','GB21', 'GB22','GB23', 'GB24', 'GB25', 'GB26','GB27', 'GB28'),
11 => array('GC01', 'GC02', 'GC03', 'GC04', 'GC05','GC06', 'GC07', 'GC08', 'GC09', 'GC10','GC11', 'GC12', 'GC13', 'GC14','GC15', 'GC16','GC17', 'GC18', 'GC19', 'GC20','GC21', 'GC22','GC23', 'GC24', 'GC25', 'GC26','GC27', 'GC28'),
12 => array('GD01', 'GD02', 'GD03', 'GD04', 'GD05','GD06', 'GD07', 'GD08', 'GD09', 'GD10','GD11', 'GD12', 'GD13', 'GD14','GD15', 'GD16','GD17', 'GD18', 'GD19', 'GD20','GD21', 'GD22','GD23', 'GD24', 'GD25', 'GD26','GD27', 'GD28'),
13 => array('GE01', 'GE02', 'GE03', 'GE04', 'GE05','GE06', 'GE07', 'GE08', 'GE09', 'GE10','GE11', 'GE12', 'GE13', 'GE14','GE15', 'GE16','GE17', 'GE18', 'GE19', 'GE20','GE21', 'GE22','GE23', 'GE24', 'GE25', 'GE26','GE27', 'GE28')
);
registerVariable($fragen
$i = loopToPage('loopend', 14);
// Nun den Teil aus $fragen abrufen, der für die jeweilige Runde relevant ist
$set = $fragen[$i];
// Die erste Frage davon anzeigen
$items = getItems($set[0], 'all');
shuffle($items);
question($set[0], $items);
Wie kann ich diese Warnung jetzt umsetzen?
Vielen Dank für Ihre Hilfe.
Die Anzahl der Fragen ist leider so gefordert....