how to insert variable and select in php
table1 1,2,3,4,5 table2 1,2,3,4
i want to insert table1 from table2 and table1.5 add variable (sorry idont speak english very well :) ) query:
"INSERT INTO `table1` (`table1`.`5`, `1`, `2`, `3`, `4`, )
$variable, select `1`, `2`, `2`, `3`, `4` from `table2` where `table2`.`3`=3; ";