public static String[] searchHistory(Integer ID,String changed, String name) {
            Database db = dbconnect();
            String [] Array = null;
            try {
		String query = ("SELECT * FROM ticket_history WHERE ticket_TID = ? "
                                + "AND changed_on = ? AND column_name = ?");
                db.prepare(query);
                db.bind_param(1, ID.toString());
                db.bind_param(2, changed);
                db.bind_param(3, name);
		ResultSet rs = db.executeQuery();    
                while(rs.next()) {
                   Array = new String[]{rs.getString(rs.getMetaData().getColumnName(2)),
                                        rs.getString(rs.getMetaData().getColumnName(3)),
                                        rs.getString(rs.getMetaData().getColumnName(4))};
		}
	        db.close();      

            } catch (SQLException e) {
                Error_Frame.Error(e.toString());
            } 
            return Array;
        }