I need a little randomization (permutation) script, that works like this.
You enter items (objects: text or html) in a text box (textarea). One object per line.
You click button and the script gives you the objects in various random order (formated for adding to the variable area of the rss-article-blogger)
Example
ENTERED TEXT:
A text
B text
C text
D text
RESULT:
A text
B text
C text
D text
#NEW#
B text
C text
D text
A text
#NEW#
C text
D text
A text
B text
etc etc etc etc
----
The results or output can go into a textarea - for easier copy/paste.
---
The best example to follow is this:
[login to view URL]
I need COMBINATIONS and PERMUTATIONS (not "repeatables")
You may (if you wish) limit output to 120 lines max. Or you may follow the model at the example URL just as they do it.
PHP or JavaScript is fine