i have a database of events on mySQL, i have retrived of of those events. i want to then fill and array with them.
what is the best way to do this so the events can be ordered by date, location or type depending on what the user wants. would i need 3 arrays for each row?