search

Home  >  Q&A  >  body text

mysql - PHP displays different content according to user permissions

Currently this function needs to be implemented

Display different article content according to members with different identities

Other requirements: This permission also needs to be able to modify and adjust membership at any time

So how to implement the structure and process of this database

迷茫迷茫2870 days ago450

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-05-16 13:07:08

    Permission table, user table, article table
    Relationship table between permissions and users (many-to-many)
    Relationship table between articles and permissions (many-to-many)

    reply
    0
  • Cancelreply