PHP Tutorials: Register & Login (Part 8): Disable/Ban User Accounts. Codecourse Explore the library.