# Insert then delete Data

**URL:** <https://forum.kirupa.com/t/insert-then-delete-data/213247>\
**Category:** programming\
**Created:** [January 18, 2007, 1:44am UTC](https://forum.kirupa.com/t/insert-then-delete-data/213247 "2007-01-18T01:44:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![james182](https://avatars.discourse-cdn.com/v4/letter/j/278dde/32.png) [@james182](https://forum.kirupa.com/u/james182)\
**Post date:** [January 18, 2007, 1:44am UTC](https://forum.kirupa.com/t/insert-then-delete-data/213247/1 "2007-01-18T01:44:59Z")

</div>

i have a form that inserts the form data into a table (pending\_tbl) and all pending are outputted in a list with accept button, when you click the accept button it populates a form with the details for viewing, if all is ok you click submit and it inserts this into another table (members\_tbl) this works but what i need it to do is once it inserts the data into members\_tbl it deletes it from pending\_tbl.

Who is this done?
