True I could! Although that function is adding a group in a function called delete group :P I get what you mean though. Currently to test it I just have two separate scripts, an add and a remove.
Tried this, still not working :D
I have a feeling that in one of the pervious topics about this...
Hello all!
I am trying to write a PHP script that will add and remove a secondary user group to a user. The adding seems to work reliably but I can not get removing to work. I also can't find an example of removing a specific group ID.
Here's the code I have (mainly taken from...