how to show options according to user permission in PHP? For example, that only administrators enter to "xx" menu.
This is my table
Permissions_users
And this is my table
users
how to show options according to user permission in PHP? For example, that only administrators enter to "xx" menu.
This is my table
Permissions_users
And this is my table
users
alter user table add one column:is_admin(0/1).according to this value to show or hide options.