When doing user login authentication is retrieving the user name/ID and password nd doing validations locally better than retrieving the row count.?
Those are two completely different functions. What you should be doing is encrypting all passwords and adding a salt (perhaps use the username for this) and save the user's login to a database as the encrypted password hash. When user logs in you would compare the login hash with the hash in the database. There are many ways to validate as well... if this is a Web app you're working on then do both front end and backend validation.
Problem Statement Given two integers a and b, your task is to calculate and print the following four values:
Please help, any idea?
Завершение процесса, код 3