12-07-2018, 07:59 PM
Ok, so I worked under the assumption that there is a field in your users table called acctPrivate. If there isn't, either make one, or do a find/replace in the code I'm about to share to whatever the column is in your db.
The code below has 2 parts. A php section that goes above your html and a form that you can drop anywhere on the page that does the button.
https://pastebin.com/DJ67mg6S
The code below has 2 parts. A php section that goes above your html and a form that you can drop anywhere on the page that does the button.
https://pastebin.com/DJ67mg6S