public ArrayList<String> getPost(String ID) throws SQLException {
        ArrayList<String> messages = new ArrayList<String>();
        PreparedStatement ps = null;
        ResultSet rs = null;
        Connection con = null;

        try {
            con = dbConnect.getDBConnection();
            String querypostID = "SELECT `Content` FROM `tbl_posts` WHERE `MakerID` =\'" + ID + "\'";
            ps = con.prepareStatement(querypostID);
            rs = ps.executeQuery();

            while (rs.next()) {
                messages.add(rs.getString(1));
            }
        } catch (Exception e) {
            System.out.println(e.toString());
        } finally {
            try {
                if (con != null) {
                    con.close();
                }
                if (ps != null) {
                    ps.close();
                }
                if (rs != null) {
                    rs.close();
                }
            } catch (SQLException ex) {
            }
        }
        return messages;
    }