Hey.
i have this
Code:
public BufferedReader getInfo() {
try {
BufferedReader data = new BufferedReader(new FileReader("./Data/characters/" + c.playerName + ".txt"));
return data;
} catch(Exception e) {
e.printStackTrace();
return null;
}
}
in CharBackupHandler.java
Next i have a query:
Code:
query("INSERT INTO `users` (`id`, `username`, `date`, `characterfile`) VALUES (NULL, '"+c.playerName+"', CURRENT_TIMESTAMP, '"+getInfo()+"');");
And when i save this it appears as:
Why doesnt this:
not print out as your character file????
Please help