Home » Php » hide content for 'non-admin' users PHP/HTML?

hide content for 'non-admin' users PHP/HTML?

Posted by: admin February 25, 2020 Leave a comment

Questions:

i’m making an admin dashboard for a project i’m having.
Thing is i’d like to only give access to that html page (which is accessed through a button) to the Admin (which has to login beforehand)
And additionally, i’d like to hide the “Dashboard” button for regular users. I’m not sure how i have to do that…

How to&Answers: