Need help making a script that moves data into acrhive table


Posted on 16th Feb 2014 07:03 pm by admin

Hi,

I'm kinda new to php/mysql

Did you know?Explore Trending and Topic pages for more stories like this.
And i wrote a simple script to store sales lead for a buisness and they are posted out into a table after they are submitted in a form.

The page where you can see all your sales lead have an option to delete sales lead, but i need to write a script that can archive the specific sales lead into an other mysql table.
In my database i've created an excactly identical table to the original to store the archived rows.
I need it to be a link behind each row that says archive and moves the data into the archive table.

How can i do this?
No comments posted yet

Your Answer:

Login to answer
259 Like 20 Dislike
Previous forums Next forums
Other forums

Undefined variables
hi
----------------------------------------------------------------------------------------------

How to disable direct access to a file
Suppose I've 2 Files. 1.php & 2.php

I don't want anybody to access 2.php directly fr

PHP loop
Okay so I have several "articles" stored in a mysql database and am attempting to echo tho

How to schedule the a job?
Hi,
I have prepared a task ( i.e. a procedure is prepare the file and send the same to con

Custom array sort? asc then desc
Any ideas how I could sort this array? I've been trying for a while. Maybe with usort, but I have no

A WBS element with the name XXX already exists in version FREI_VERSION
Hi.
When I am trying to insert WBS element in a project, error occurs:

"A WBS eleme

How to submit a form to the same page?
I have a table containing information about books in my library and this table has the following col

Echoing If Function?
A script I am using has If statements in the comments form to basically tell the form what to do. Cu

Need Successful Return
Hello I am currently working a form here, and I have everything figured out except when I click the

records between 2 dates
Hello all,

I have a date tracked table which contains effective_start_date and effective

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash