INSERT INTO table2 (column1, column2, column3, …)
VALUES ($var1, $var2, $var3,…)
SELECT id,
FROM table1
WHERE id = $var3;
Is this even possible? I want the user to enter his data
from a form. Let him select a organization from a drop down box.
Pass that id to his record. Do a select record of organization
name from that table and then print or use the org name not the org id.
I will store the org id in the user record to retrieve as needed.