oop register/login as admin

+1 Oren Showham · February 6, 2015
Hi, I am trying to make some changes to the oop register/login tutorials, such as Admin page that can delete or edit users.
I made a new Admin class because the User class only gets the logged in user with its permitions but can't get other users to be edited or deleted if admin wishes to.
Something like that:


This is the Admin edit page:


But somehow I can't get to delete or edit users as admin..
Thanks.

Post a Reply

Replies

Oldest  Newest  Rating
0 Mitch Mullvain · February 11, 2015
To let you know, your answer probably wasn't answered because your source code isn't there. Try updating that.
  • 1

PHP

106,930 followers
About

Server-side, HTML embedded scripting language used to create dynamic Web pages.

Links
Moderators