This is a forum where members new and old can come to ask questions and get info and opinions. It is not a place to advertise your business or have other forms of advertising, whether it be in your posts or signature.

All links in the forum will not be indexed by Search Engines and any unapproved forms of advertising or spam will be dealt with accordingly, deleted, and that member's account banned.

Forums

Overview » PHP » Move record from one table to another table
Reply

Move record from one table to another table

Heather V
Freaking Member



Since: 30 May 2007
Posts: 61
Posted 16 Jun 2010 00:37:23

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?

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

Message
Reply
Follow us on Facebook Follow us on twitter Subscribe to the RSS feed
Activate your free membership today | Login | Currency