I have a database which lists all of my users and associated with each user is their team. I have the following query
SELECT * FROM users WHERE team = 'red'
which will obviously return more than one row from the database. It seems that the mysqli_fetch_all
function is ideal for handling these results but I'm not sure what that's going to return to me.
Will I get a two dimensional array such as $users[user][details]
or something else entirely?