Hi,
I have been searching and trying for days now but still cant get this to work.
Id like to group my result from a SQL call into a multidimensional array.
The columns that are extracted are Timestamp, room, device and value and gets sorted accordingly.
As long as the Timestamp is the same id like it to be grouped in an array
Here i would like the array to be grouped containing line 1 and 2 in a multidimensional array with the key for the timestamp.