fetch_rowset($sql) as $row) { $bans[$row['ban_userid']] = $row; } $this->store('ban_list', $bans);