Skip to main content

Timeline for Array offset without losing values

Current License: CC BY-SA 3.0

6 events
when toggle format what by license comment
Mar 25, 2014 at 20:29 history edited David Harkness CC BY-SA 3.0
added loop form
Mar 25, 2014 at 20:24 comment added David Harkness @Conor In that case see my edit.
Mar 25, 2014 at 15:09 comment added Conor The latter, one array with 18 different orders based on team ID.
Mar 24, 2014 at 21:09 comment added David Harkness Do you have 18 different starting arrays? Or are you taking the same array and doing the above for $team = 1, $team = 2, $team = 3, etc?
Mar 24, 2014 at 21:01 comment added Conor I'm just trying to loop 18 arrays but have different starting arrays based on team value. So for example, $team = 5 then output $array = array(array(5),array(6),array(7),array(8),array(9),array(10),array(11),array(12),array(13),array(14),array(15),array(16),array(17),array(18),array(1),array(2),array(3),array(4));
Mar 24, 2014 at 20:44 history answered David Harkness CC BY-SA 3.0