Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- System.out.print("Choose permission 1: Administrator or 2: Salgsassistent?: ");
- int permission = sc.nextInt();
- if (permission == 1 ) {
- Integer.toString(permission);
- System.out.print(permission);
- }else if (permission == 2) {
- }else {
- System.out.print("There was an error");
- }
- String SQL = "INSERT INTO BRUGERLOGIN VALUES" + "('" + number + "' , '" + password + "' , '" + permission + "')";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement