Possible Duplicate:
Permutations - all possible sets of numbers
I have an array that has a list of options, Each option is unique and cannot be repeated.
I want to build a probability tree using these options:
$options = array('1','2','3','4','A','E','I','O');
So one valid line could be 1-2-E-3-O-I-4-A
How can I do this? (or at least point me in the right direction!)