Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 59 if ( $input == 3 ) {
- 60 print "Log in/out of an exiting account.\n";
- 61 print "Login user: ";
- 62 chomp($loginuser=<STDIN>);
- 63 print "Login password: ";
- 64 chomp($loginpassword=<STDIN>);
- 65 $loginquery = $dbh->prepare("SELECT * FROM usersDB WHERE username='$loginuser' AND password='$loginpassword' ");
- 66 $loginquery->execute();
- 67 while (@results = $loginquery->fetchrow_array())
- 68 {
- 69 print "user: $results[0] time: $results[1]\n";
- 70 }
- 71 }
Add Comment
Please, Sign In to add comment