Quote:
You could set up the user variable outside the function and pass it in to be filled or you could return the user variable.
|
The reason I wanted to do this with arrays is that I need to have something like 100 global variables for my software, and setting them up individually would be a pain. They're taken directly from the MySQL database, and then turned into arrays, meaning I couldn't really set up that value elsewhere...