private void updateQuizResults(String query) {
		try {
			String sqlQuery = "SELECT id, title from quizzes WHERE title like '%"
					+ query + "%'";
			ResultSet rs = stmt.executeQuery(sqlQuery);
			if (rs.last()) {
				quizResults = new SearchResult[rs.getRow()];
				int i = 0;
				rs.beforeFirst();
				while (rs.next()) {
					quizResults[i] = new SearchResult(rs.getInt("id"),
							rs.getString("title"));
					i++;
				}
			} else {
				quizResults = new SearchResult[0];
			}

		} catch (SQLException e) {
			e.printStackTrace();
		}
	}