This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
en:create:questions:random [23.03.2016 15:43] – [Option 3] admin | en:create:questions:random [30.11.2016 15:41] – leiner | ||
---|---|---|---|
Line 72: | Line 72: | ||
// Array, that saves an image for every group | // Array, that saves an image for every group | ||
$bilder = array( | $bilder = array( | ||
- | 1 => stimulusA2.jpg | + | 1 => 'stimulusA2.jpg', |
- | 2 = stimulusB2.jpg | + | 2 => 'stimulusB2.jpg', |
- | 3 = stimulusC2.jpg | + | 3 => 'stimulusC2.jpg' |
); | ); | ||
// With the square brackets an element from the array is read | // With the square brackets an element from the array is read | ||
Line 142: | Line 142: | ||
'); | '); | ||
// Create the fitting question ID and show the question using question() | // Create the fitting question ID and show the question using question() | ||
- | $qstID = 'AB' | + | question(id(' |
- | question($qstID); | + | |
</ | </ | ||