Clean User Delete


Well-known member
What is the clean and proper way to delete a user in PHP? Posts etc. can stay and don't really matter, I just don't want there to be lingering problems from deleting a user the wrong way.

Thank you. :)

Never mind, I am going to take a look at the way the Admin panel does it.