I'm wondering if there is a way to fetch the results of a query into an array. Not the row results in an array, but the whole result set. The SQL query is only pulling one field.
The reason I want to do this is I want to get all the ID fields and then put that into an array to then be able to randomly choose an item.
Any suggestions....
The reason I want to do this is I want to get all the ID fields and then put that into an array to then be able to randomly choose an item.
Any suggestions....