I am using PHP and MySql
I am a very visual person, I have to see what something looks like visually before I can write code for it. So with that being said......
On my site, each user is assigned a unique user id. Users can be friends with each other. Each user has a profile. On that profile, if a different user has permission, that user will be able to post comments, pics, videos, etc..etc..etc.. (data). These permissions will be stored in a table. So I will have 3 separate tables, MEMBERS (users) table, DATA (comments, pics, videos, etc) table, and PERMISSIONS (see permissions below) table.
The permissions that I will be using are..
For the life of me, I just can't visualize the PERMISSIONS table, and I need help doing that!
With all this in mind, can someone please post a visual representation of what a PERMISSIONS TABLE would look like to accomplish what I am asking, please?
Thanks!