Re: [PHP] Too many arrays! My head is exploding!

2012-05-29 Thread Vikash Kumar
On 29 May 2012 18:15, Gary listgj-phpgene...@yahoo.co.uk wrote: Okay, let's assume I have three things, A, B, and C. I need to produce an array with a list of all possible combinations of them, however many there might be in those combinations: e.g. A, B, C, D, AB, AC, AD, BC, ABC (not sure

Re: [PHP] Too many arrays! My head is exploding!

2012-05-29 Thread Florian Lemaitre
Le 29/05/2012 14:45, Gary a écrit : Okay, let's assume I have three things, A, B, and C. I need to produce an array with a list of all possible combinations of them, however many there might be in those combinations: e.g. A, B, C, D, AB, AC, AD, BC, ABC (not sure if I've missed any!). Normally

Re: [PHP] Too many arrays! My head is exploding!

2012-05-29 Thread Tedd Sperling
On 29 May 2012 18:15, Gary listgj-phpgene...@yahoo.co.uk wrote: Okay, let's assume I have three things, A, B, and C. I need to produce an array with a list of all possible combinations of them, however many there might be in those combinations: e.g. A, B, C, D, AB, AC, AD, BC, ABC (not sure

Re: [PHP] Too many arrays! My head is exploding!

2012-05-29 Thread Adam Richardson
On Tue, May 29, 2012 at 10:55 AM, Tedd Sperling t...@sperling.com wrote: On 29 May 2012 18:15, Gary listgj-phpgene...@yahoo.co.uk wrote: Okay, let's assume I have three things, A, B, and C. I need to produce an array with a list of all possible combinations of them, however many there might

Re: [PHP] Too many arrays! My head is exploding!

2012-05-29 Thread Tedd Sperling
On May 29, 2012, at 11:41 AM, Adam Richardson wrote: On Tue, May 29, 2012 at 10:55 AM, Tedd Sperling t...@sperling.com wrote: On 29 May 2012 18:15, Gary listgj-phpgene...@yahoo.co.uk wrote: Okay, let's assume I have three things, A, B, and C. I need to produce an array with a list of all