Pulling out all possible combinations
Posted: Wed May 12, 2010 4:38 am
Road Possible options
1 1, 2 or 3
2 1, 2 or 3
3 1, 2 or 3
Does anyone know how I would tell php to pull all the possible combinations out if road = $road and Possible options = $pso?
Would it be a case of using a series of for loops inside each other?
Quite stumped on this one as I've never seen or done anything like this before.
Thanks in advance if you can help
1 1, 2 or 3
2 1, 2 or 3
3 1, 2 or 3
Does anyone know how I would tell php to pull all the possible combinations out if road = $road and Possible options = $pso?
Would it be a case of using a series of for loops inside each other?
Quite stumped on this one as I've never seen or done anything like this before.
Thanks in advance if you can help