Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

OOP beginner - code to update a user's role?

Hello guys.

I am trying to find the PHP code to update a specific user's permission. I've tried updating the table UserRole to the desired permission, but I think I need to do something more because the user's ability to post and edit threads on the forums doesn't really change after I've done this.

I know very little about POO but I suspect I need to use GetUser($ID) and something along the lines of "$this->User->Update->..."

Anyone could help me? Thanks!!
Sign In or Register to comment.