I need to insert data from a flat_table into two tables client_data client_contact.
flat_table
f_name
l_name
client_id
phone
address
client_data
id AI
f_name
l_name
...
...
client_contact
client_id
phone
address
...
...
I was thinking of using mysql_last_id somehow but I don't know even where to start.
there are other questions like this but they don't answer my question.