This topic is locked
[SOLVED]

 insert selected rows in another table

7/5/2011 4:25:12 PM
PHPRunner General questions
R
rocknroll_france author

SORRY... this is the 2nd post I posted first in ASP section <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=17306&image=1&table=forumtopics' class='bbc_emoticon' alt=':(' />
Hi,

I read few topics, but not find what I need. A lot of topics about inserting 1 record in one another table, but I don't found for "selected records".
I have 2 tables with same informations

1st: temporary table for Users who enter informations

2nd: Working table where the informations of the temporary table must be insert by an Admin.
What I was thinking of:
On the list page of the temporary table, admin select records (one, many, all...) and these records, (with custom button ?) are insert in the Work table. Exactly as the "view selected records", but for an insert in one another table.
I read some topics with the variable "$selected"... Must I use it ?
Thanks for any idea, example or topics I don't find at this time.

C
cgphp 7/6/2011

Check the 2nd example of the following manual page:
http://xlinesoft.com/phprunner/docs/inserting_button.htm
You can do something similar to insert records in the working table.