con = DriverManager.getConnection("jdbc:mysql://ip/data", "usern", "password");
Type: Posts; User: wood1master7
con = DriverManager.getConnection("jdbc:mysql://ip/data", "usern", "password");
'
My cmd prompt says it crashes at:
Statement statement = con.createStatement();
because of nullpointerexception
That's the line... Idk what's the null value?
Okay so ill tell you my idea before showing code:
I want to do a recruit a friend where you go to our website, type in your username, the person that recruited you username and you hit submit. When...