MN Forum
Delete Account does not work! - Printable Version

+- MN Forum (http://forum.mn-shop.com)
+-- Forum: Products (http://forum.mn-shop.com/forum-products.html)
+--- Forum: Ask a Question (http://forum.mn-shop.com/forum-ask-a-question.html)
+--- Thread: Delete Account does not work! (/thread-delete-account-does-not-work.html)



Delete Account does not work! - by_sekerat - 03-30-2015

Dear Admin & Friends!

Delete Account does not work! As if the user has deleted the account, session concludes. However, nothing is being done and account deletion of re-entry.

edit_acc.php --> There is this code:
PHP Code:
Hidden content for guests 

Will it be deleted in an area called the Users table? I do not see such a thing.

Please help !!!


-------------------------------------------------------------
My English is a little weak. Sorry!


RE: Delete Account does not work! - treicadani - 03-30-2015

Hi sekerat,

If the user wants to delete his account that query will trigger in db as deleted = 1. If deleted = 1 the user will be prompted that the account is deleted/disabled so he cannot re-register it.

If you want to be deleted from the records you may want create a button called "Delete" on submit run the query :

Code:
Hidden content for guests

Dani


RE: Delete Account does not work! - kasabezwysilku - 03-30-2015

(03-30-2015, 01:50 PM)by_sekerat Wrote: Hidden content for guests

I see there is no "deleted" column" in "users" table in original database, so it can not be done.


RE: Delete Account does not work! - giadone - 03-31-2015

It's right for delete after password as confirm?

PHP Code:
Hidden content for guests 

(03-30-2015, 08:52 PM)treicadani Wrote: Hidden content for guests