PHP function to handle most database queries has a problem with results. I am getting the right numb
- by asdasds
Here is my little function. It does not handle the results correctly. I do get all the rows that I want, but all the rows of the $results array contain the exact same values.
So i make 2 arrays, a temporary array to hold the values after each fetch, and another array to hold all the temporary arrays.
First i take the temp array and map its keys…