I have a scenario wherein I need to get all [microtime] in the array result which is processed using an ajax.
Here's the process
- On dropdown change, I take the value and apply it in MySQL query.
- It will return an array.
I was able to print_r the result.
But I want to get all [microtime] and all [sum(srp)]
Is there a possible way to do that.
Like, I want the result to be like this: **microtime is converted to months <----this I already did
var months = [January,February,March..blablabla]
var sum = [396484,629103,blablablabla]