Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:create:functions:getquestions [24.01.2015 15:46] – [getQuestions()] alexander.ritteren:create:functions:getquestions [24.01.2015 15:48] (current) – [Examples] alexander.ritter
Line 36: Line 36:
 </code> </code>
  
-And the following PHP code selects 4 from the questions in section "AB" at random and shows these on different pages.+And the following PHP code selects 4 questions from section "AB" at random and shows these on different pages.
  
  
 <code php> <code php>
-// Create the random list only once+// Create the random list once only
 if (!isset($questions)) { if (!isset($questions)) {
   $all = getQuestions('AB');   $all = getQuestions('AB');
en/create/functions/getquestions.txt · Last modified: 24.01.2015 15:48 by alexander.ritter
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki