php - Delete Node on Update in DB -
i'm working on user mgmt part here have created form funder form looks below .
i'm using form create funder , update funder, problem in update part.
when funder tries delete poc node or benf node or location node on ui same should reflected on db after submitting form.
similar delete before there problem in adding of loc,benf , poc, if user add benf,loc or poc nodes in ui , click on update button should reflect same in db table of loc,benf , poc
so query simple update query before after problem made insert on ... duplicate key update..
(note: i'll saving data on form submission)
if user delete benf,loc or poc nodes in ui , click on update button should reflect same in db table of loc,benf , poc?
__ __ __ __ __ __ |funder form | | --field1 | | --field2 | | --field3 | |__ __ __ __ __ __| add benef + ________________________ __ __ __ __ __ __ |benf form - | | --field1 | | --field2 | | --field3 | |__ __ __ __ __ __| add location + ________________________ __ __ __ __ __ __ |location form - | | --field1 | | --field2 | | --field3 | | | | add poc + | |________________ | |poc form - | | --field1 | | --field2 | | --field3 | |__ __ __ __ __ __| __________________ | update | |__________________|
Comments
Post a Comment