I have 3 table with related each other
table1 (for insert)
*******************
id1 | lable | line1
table2
********************
id2 | id1 | id3
table3
*******************
id3 | line1
How can write in the SQL(MySQL) script instead do php script ?
INSERT INTO table1 (id1,lable,line1) VALUES ($from_GET, $from_GET,How can I got from table3?);
Thanks
Check the syntax in the docs.