Delete web account
I am creating a page where the user can choose to delete their entire user account.
The page first shows a summary of what will be deleted. When the user presses the delete button, a warning will appear in a "deleteBox" as usual. And when the user confirms this, the idea is that all data that the user has added to the database is deleted.
To do this, I think I have to:
#1, create multiple record sets that are linked to each table ID and filtered on SESSION ['SecurityAssist_UserID'].
#2, create the same number of hidden input fields, which are connected to each recordset.
#3, create delete record associated with each hidden input.
Since one of the tables contains data about uploaded images, I also have to use the "Delete File" function.
I have created this, but what happens is that only the first record from each recordset is deleted. I guess I need to create a repeat function, but how do I do this?