When making an admin area i have always just allowed 'delete the user', but is it possible to deactivate and reactivate a username and password.
I can picture it in my noggin. when viewing all the users there is the ability to check a box selecting deactive or reactivate depending on the state of the username at the time.
What do you think, is it more hassle than its worth to allow this?
Any thoughts is much appreciated.
thanks in advance,
gillian
This is better way than deleteing a user permanently, have an extra field in database that whether a user is activa or inactive, and admin can update this anytime, to make active or inactive....
Irfan Find Tutors Easyway to get connect with your tutor in india
For this functionality,
You have to add an extra field in DB as said.
This field should be BIT type which will accept only 2 values. True or False.
and you have to set it accordingly...
Bookmarks