Jump to content

Shimmeh

New Members
  • Posts

    1
  • Joined

  • Last visited

Shimmeh's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hello all, I realize this is my first post but I've been visiting PHP Freaks for years. I'm trying to accomplish something that I just can't seem to wrap my head around programmatically. Say I've got a multidimensional array with each subarray containing 4 numbers (1,1,1,1 - 2,2,2,2 - 3,3,3,3 - 4,4,4,4). How would I go about reading this multidimensional array in the sense that the output gives me 1,1,1,2 - 1,1,2,2, - 1,2,2,2, - 2,2,2,2 - 1,1,1,3 ..... 1,1,2,3 - 1,2,2,3 - 2,2,2,3 .... 3,3,3,4 - 3,3,4,4, - 3,4,4,4 - 4,4,4,4? I hope I explained this well enough, if not please feel free to ask any questions and I'll be as pompt and helpful as I can at trying to explain what I'm trying to accomplish. Thank you!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.