Differences

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

Link to this comparison view

Both sides previous revision Previous revision
en:create:filter-items [26.01.2015 07:11]
alexander.ritter
en:create:filter-items [27.11.2020 21:02] (current)
sophia.schauer [Task 4]
Line 245: Line 245:
 question('AF05', $selection); // show the follow-up question incl. item 13  question('AF05', $selection); // show the follow-up question incl. item 13 
 </code> </code>
 +
  
 The ID of the additional item has to be entered in order for this filter to work. Certainly, identifying the items present in the second question, but not in the first, could be done first of all. The function ''[[http://de.php.net/manual/en/function.array-diff.php|array_diff()]]'' returns a list of these list elements and by using the function ''[[http://de.php.net/manual/en/function.array-merge.php|array_merge()]]'', the lists can then be merged.  The ID of the additional item has to be entered in order for this filter to work. Certainly, identifying the items present in the second question, but not in the first, could be done first of all. The function ''[[http://de.php.net/manual/en/function.array-diff.php|array_diff()]]'' returns a list of these list elements and by using the function ''[[http://de.php.net/manual/en/function.array-merge.php|array_merge()]]'', the lists can then be merged. 
en/create/filter-items.1422252707.txt.gz · Last modified: 26.01.2015 07:11 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