Forums

PHP

This topic is locked

Move record from one table to another table

Posted 16 Jun 2010 00:37:23
1
has voted
16 Jun 2010 00:37:23 Heather V posted:
I have a list of blogs with checkboxes next to them. When the administrator clicks on the checkbox(es), how can I tell PHP to do the following:

If there are any checkbox items {
INSERT blog item(s) to blog_table2 and DELETE from blog_table1 checked items }
else {
leave blog items alone }

Can someone afford their time to help me out with this code?

Reply to this topic