The login password matches the last six digits of the student number
默年
默年 2020-02-16 21:04:11
0
2
1159

I am building a system for college attendance. I want the password to match the last six digits of my student ID when logging in. How do I do this? Do you manually enter the data into the table? Is there any code to implement it? The great master will guide you on the recommended learning content. I am a student, but my knowledge is still shallow. Hope God can give me some advice


默年
默年

reply all(2)
城乡结合部部长

After getting the password from $_POST, make a judgment and compare it with the last six digits of the student ID to see if it is equal. The last six digits of the student number can be obtained using the substr function.

排骨

You can take a look at the substr function

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template