This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
en:create:functions:random_p [13.01.2015 16:57] – [Example 2] alexander.ritter | en:create:functions:random_p [13.01.2015 16:59] – [random_p()] alexander.ritter | ||
---|---|---|---|
Line 10: | Line 10: | ||
- | **Note:** Use the function [[: | + | **Note:** Use the function |
===== Example 1 ===== | ===== Example 1 ===== | ||
Line 75: | Line 75: | ||
One of the television stations watched at least rarely should now be selected at random. However, preference should be given to television stations 2, 5 and 6. | One of the television stations watched at least rarely should now be selected at random. However, preference should be given to television stations 2, 5 and 6. | ||
- | |||
- | Nun soll aus den Sendern, die mindestens selten genutzt werden, zufällig einer ausgewählt werden. Allerdings sollten die Sender 2, 5 und 6 dabei bevorzugt werden. | ||
<code php> | <code php> |