Advertisement
Guest User

Untitled

a guest
Oct 16th, 2013
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.42 KB | None | 0 0
  1. System.out.print("Choose permission 1: Administrator or 2: Salgsassistent?: ");
  2.         int permission = sc.nextInt();
  3.         if (permission == 1 ) {
  4.             Integer.toString(permission);
  5.             System.out.print(permission);
  6.            
  7.         }else if (permission == 2) {
  8.            
  9.         }else {
  10.             System.out.print("There was an error");
  11.         }
  12.  
  13.  
  14.  
  15. String SQL = "INSERT INTO BRUGERLOGIN VALUES" + "('" + number + "'  ,  '" + password + "'  ,  '" + permission + "')";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement