Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
en:create:filter-items [26.01.2015 07:11] alexander.ritteren:create:filter-items [27.11.2020 21:02] – [Task 4] sophia.schauer
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.txt · Last modified: 19.05.2021 21:17 by sophia.schauer
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki