The idea of setting and managing php permissions is divided into administrators and common users. Users can modify their personal information only once. to modify the personal information only once, they must have the administrator's authorization, the user can perform the second information modification operation ..... ------ Solution ------------------ the initial value of a field is 0. after the user modifies the information, the field is automatically updated to 1, administrator authorization resets this field to 0. each time the user modifies the information, check this field for ideas on php permission settings and management.
Divided into administrators and common users. Users can modify personal information only once. to modify personal information, they must be authorized by the administrator. they just want to get a button for the administrator to perform the second modification operation, could you give me some advice .....
------ Solution --------------------
The initial value of the added field is 0. after the user modifies the information, the field is automatically updated to 1, and the administrator authorizes the field to be reset to 0.
Each time you modify the information, check this field. if the value is 0, you can modify it. if the value is 1, you need to authorize