View Single Post
Old 11-26-2012, 08:31 AM   PM User | #2
Ulysses69
New Coder

 
Join Date: May 2004
Posts: 15
Thanks: 1
Thanked 0 Times in 0 Posts
Ulysses69 is an unknown quantity at this point
I have tried looking for no multiples and adding to the array until matched in a loop like so:

Code:
while ($groupsize % count($array) != 0) {
	$array = array_merge($array, $array);
}
The above doesn't work though.

Last edited by Ulysses69; 11-26-2012 at 09:19 AM..
Ulysses69 is offline   Reply With Quote