Need Help W/ Writing to DB.
I am attempting to create a simple register/login section for a launcher of a game.
The input has 3 fields. userNameC , passWordC , and userAgeC .
When I write to the DB, I use this:
bufferedWriter.write(userNameC + "\n" + passWordC + "\n" + userAgeC + "\n");
As you can see, the multiple instances of new lines mean it should create new lines!
Example: userNameC = asdf , passWordC = asdf1 , userAgeC = 54
It should write to the database as:
asdf
asdf1
54
Instead, it writes as:
asdfasdf154
Does anyone know why this might happen, or how to solve this issue?
Thanks in advance!
-Sabinno-