How can I add data with low permissions in php only after high-permission review?

Source: Internet
Author: User
In php, how can I add data with low permissions only after high-permission review. A network administrator needs to add data to the warehouse but cannot add data to the warehouse, all the added data must be reviewed by the super administrator before they can be truly added to the database .... how can we implement such a function? give me some ideas ....


Reply to discussion (solution)

Add or add data to the database, but the information of the user (such as the user ID) should be included)
You also need to set a field in the table to identify whether the review is successful.
In this way, only the data that passes the review is the official data.

Add or add data to the database, but the information of the user (such as the user ID) should be included)
You also need to set a field in the table to identify whether the review is successful.
In this way, only the data that passes the review is the official data.
Is added to the database, add a field specifically to store whether it is approved, any way is to remind the Super Administrator of how many pieces of data he has to review as soon as he logs in ....

Audit field Audit initial value is 0, pass is 1
So
Sekect * from tbl_name where Audit = 0
All records that fail the review

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.