Panel to hide PHP user page elements

Asked

Viewed 70 times

1

Good evening, I am making a management system for the company and now appeared an unforeseen requirement that I need to adjust. Inside the administrative page of each customer there are buttons that are actually images that when clicking direct them to a specific part of the site, but my boss wants the visualization of these buttons to be determined by him individually. I would like to know how to create a master panel that hides or displays these elements according to the will of the administrator. I am using PHP with Mysql database

  • As you are using bank, you could create a table or control column, directly related to clients, where you can store values of "show" and "hide" or 1 and 0, for example. When you assemble the page, you would use an "if", to check if a certain person has the criteria to show the buttons, if yes, insert the buttons, if not, do not put.

  • Try to post some code of how are the buttons and structure, help solve the problem.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.