Good day,

I have a webpage where two tables are showed, with a checkbox in each row for being selected or not.
Here an extract of the code, where tables are created based on values from a database.

Body of table 1:

while($row = mysql_fetch_row($result)) {
echo "<tr ALIGN=CENTER VALIGN=TOP>";
for($column_num = 0; $column_num < $column_count; $column_num++) {
echo "<td>$row[$column_num]</td>\n";
}
echo '<td><input type="checkbox" name="check[]" value="$row"></td>';
echo "</tr>\n";
}


Body of table 2:

while($row = mysql_fetch_row($result_new)) {
echo "<tr ALIGN=CENTER VALIGN=TOP>";
for($column_num = 0; $column_num < $column_count; $column_num++) {
echo "<td>$row[$column_num]</td>\n";
}
echo '<td><input type="checkbox" name="check_op[]" value="$row"></td>';
echo "</tr>\n";
}


When the page is in use, people has to select some rows (checkboxes) from table 1 and table 2.
After finish, a "Next" button is selected, and a new webpage is opened, where I'd like to have one single table showing only selected rows from table 1 and table 2 (and no more checkboxes).

Could you please let me k now how to do it?

Thanks a lot!!!