Forum Moderators: open
Problem: I have, say, a main_table with hundreds of entries.
I receive "suggestions" for corrections from the users for certain EXISTING entries in the main_table by clicking "suggest correction" link. I do not want the "suggestion" go directly into the main table. So I want to keep them in a temp_table where I can approve or discard the suggestion, and update the main_table.
1. Select the relevant entry from the main_table
X = "SELECT * FROM main_table WHERE entry = ID;
2. Pass this X to suggest.php (or function)
HOW to do?
3. Get the suggestions
Add them to temp_table
4. When required
Get the entry from temp_table and modify the corresponding entry in main_table accordingly.
I need help for the Step #2.
Thank you for all helpers, as always.