Jump to content

Integrate Insert & Delete Form


yandoo

Recommended Posts

Hello there,

 

I was hoping for a little help on my project please

 

I have 2 basic forms (Please see attachments of screen prints)

 

One form inserts new records into a database via a drop down  (and echos back what has been inserted)

 

The other echos the records that were just inserted but adds a check box next to each record..... If a checkbox is ticked then that corresponiding record is deleted on submit!

 

I want to combine the forms into one form

 

My question is this......Is there a way i can combine the two forms???

 

For example on the Integrated form the user inserts records as normal but when the records are echoed back a checkbox for each record would appear, so that if the records corresponding checkbox was ticked then, on submit that record would have been deleted???

 

So i would need to combine the INSERT with the DELETE on the submit button. I can think of a problems such as by combing the submit button to DLEETE & INSERT that means Deleting records would only work when submitting them too??? 

 

I hope im making sense??? Is it possible to do this????

 

Thank You

Link to comment
https://forums.phpfreaks.com/topic/98308-integrate-insert-delete-form/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.