Hi, I would like to know how I can finish in a good way the insertion of a field that is already inserted in another table, in this new one, I have what I will show next:
$copcod = mysqli_query("insert into tabla_destino (select id, código from
tabla_emisora where id=id)");
(where id has to be that of the current session and at the same time that of the original table)