阅读背景:

如何为管理员和用户编写一个登录表单

来源:互联网 

I'm trying to write a code that takes two input values( username and password) and compare them with values in a table (named as user) in the database. Now, if the value inserted for the username is "admin" and also the password is "admin". I want to direct the admin to his page, and if the user has inserted his info, I want to direct him to his page also. My code below looks correct but I'm getting no response. How can this be fixed?I'm trying to write a code that takes two input




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: