Question: I am building an entire system using PHP and MySQL.

I want to create usergroups.

For example
I want *ADMIN1* to be able to **ADD USER**, and **REMOVE USER**

BUT

I want *ADMIN2* to be able to **ADD USER** only

What is the standard way to do this?

Thanks.

Answer: 
You can use system used in drupal ("table\_name"):

"users" [uid, name]

"users\_roles" [uid, rid]

"role" [rid, name]

"permission" [pid, rid, name]
There aren't *usergroups* in mysql. You'll need to use the grant syntax: <https://dev.mysql.com/doc/refman/5.5/en/grant.html>