Jump to content

hey,

 

I'm wonder if there is a way in java to create a way that your code will save user inputs for next time it will fun. My example of this would be to create an account for something where the user inputs info then can log in with it. Do you know how to have it save to some sorta of date place that then the code could check to see if an account is real?

Link to comment
https://linustechtips.com/topic/108371-java-scoring-info-datebase-help-please/
Share on other sites

Link to post
Share on other sites

I'm not entirely sure what you want but from what I've understood is that you're trying to register a user and check whether the user is real or not when logging in? If so then you can use JDBC and mysql to store users into the database and simply use sql query to store the results into a string and use that to check whether the user exists or not.

Link to post
Share on other sites

You would have to use something like mySQL. Or if it is really small scale you can make a text file using java and list names and info in a certain order and use some algorithm, that will organize the information into something readable. 

ZerueLX11

Check me out! LTT Forum Profile!

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×