public static Quiz getQuizByQuizID(int quizID) {
		String statement = new String("SELECT * FROM " + DBTable + " WHERE qid = ?");
		PreparedStatement stmt;
		try {
			stmt = DBConnection.con.prepareStatement(statement);
			stmt.setInt(1, quizID);
			ResultSet rs = stmt.executeQuery();
			if (!rs.next()) {
				System.out.println("Quiz " + quizID + " NOT FOUND");
				return null;
			}
			Quiz quiz = new Quiz(rs.getInt("qid"), rs.getString("name"), rs.getString("url"), 
					rs.getString("description"), rs.getString("category"), rs.getInt("userid"), 
					rs.getBoolean("israndom"), rs.getBoolean("isonepage"), rs.getBoolean("opfeedback"), rs.getBoolean("oppractice"), 
					rs.getInt("raternumber"), rs.getDouble("rating"));
			rs.close();
			return quiz;			
		} catch (SQLException e) {
			e.printStackTrace();
		}
		return null;
	}