The user can log in, if the login user is not in SQL, how to set up registration for new users? Be badly in need of code
thank you
CodePudding user response:
Can do a user registration function,Also can consider to set up a user management function is used to manage already registered user or register a new user,
CodePudding user response:
shi deCodePudding user response:
The user into the users table can ahCodePudding user response:
Want to save the integrity of the user to insert a record in the table is okCodePudding user response:
But I did a login interface, is now want to learn how to judge the SQL database, do not have this userCodePudding user response:
How to judge the SQL database, not the user?Using a select statement judge!!!!!! Is there any other way?
CodePudding user response:
Select the username into: u from tuser where name=: sle_1. Text;If the sqlca. Sqlcode=100 then
//not the user
end if