I've created an array and am storing data in it but as I'm doing it I am thinking about how this can't be the best way. I need to store 6 values, 5 from one db and 1 from the other. In the while loop I assign the data like
$myArray[i][0] = $row[...]; $myArray[i][1] = $row2[...]; // Value from second db ......
What is the best way to do this? I know there is a better way.


Sign In
Create Account


Back to top









