I've finally figured out how to fetch data from Google Analytics to website, unfortunately output (print_r
) is PHP array inside an array:
Array ( [0] => Array ( [0] => 196 ) )
I need to get the number 196
& "save" it as variable in order to use it in calculations or output it, any ideas how to achieve this?
Im looking for overall solution/principle/rule because some data is even array inside array inside array etc.