close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Can I move records from one MySQL table to another?

Thread began 5/02/2016 5:12 pm by gail.bergan407744 | Last modified 6/13/2016 3:19 pm by gail.bergan407744 | 634 views | 21 replies

gail.bergan407744

Can I move records from one MySQL table to another?

Hello,

I have both MySQLi Server Behaviors and DataBridge (w/ DataAssist) so I'm hoping one or the other of these add-ons can do the trick. I have a member database with two tables: a users table made up of active members, and a lapsed_members table made up of those whose membership has lapsed. I'd like an easy way for us, when it becomes obvious that a member is not going to renew, to move their record from the users to the l_m table via the php page. I know how to insert a new member and update a member and have pages for those. But I don't know which behavior to use to delete a record from one table and insert that exact record into another. Then, obviously, if a lapsed member decides to renew, to do the reverse.

In the beginning, these two tables were one giant users table and I only recently split them in two. So the user ids shouldn't be duplicated.

Thanks for any guidance you can give me.

Gail

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...