Hi, I need a way of sorting a string I have in PHP, the string is formatted like the one below, but is much bigger.
{ 1, 3, 1, 2, }, { 2, 3, 2, 1, }, { 3, 3, 2, 2, }, { 1, 2, 3, 1, },
What I would need it to do is turn each set of numbers that is in the brackets into an array. So in this case there would be four arrays with four values in each array.
The first array would look like the following:
array1[0] == 1
array1[1] == 3
array1[2] == 1
array1[3] == 2
How would I manage to do this?