This article explains in detail that this user record is available after user registration. you set a "review status" field for the user table, and the default value is "not reviewed ", then you write a few review codes to form a function. if the review passes, you can change the review status to "reviewed. When you want to perform various operations, you should first judge the audit status field. if not, it will be blocked and provide some prompt information; otherwise, it will be released. Registration page
Registration page
Registration Processing page
Query ($ SQL, 0) {header ("location: zhuceyemiandenglu. php");} else {echo "registration failed! ";}
Logon page
Page logon
Registration logon process page
Query ($ SQL); if ($ arr [0] [1] ==$ pwd &&! Empty ($ pwd) {if ($ arr [0] [5]) {header ("location: zcmain. php ");} else {echo" this user has not passed review! ";}} Else {echo" logon failed! ";}
Registration page
User review
| User name |
Name |
Gender |
Birthday |
Operation |
Query ($ SQL); foreach ($ arr as $ v) {$ str = $ v [5]? "Passed": "passed"; echo"
| {$ V [0]} |
{$ V [2]} |
{$ V [3]} |
{$ V [4]} |
{$ Str} |
";}?>
Approved Code
Query ($ SQL, 0) {header ("location: zcmain. php");} else {echo "failed to pass! ";}
The above is an in-depth understanding of the details of page registration review using PHP. For more information, see other related articles in the first PHP community!