I am inserting a record to PHP Query with one table and it works fine.
$Query="INSERT INTO siparisler (firma)
SELECT musteri_ismi from musteri_ekle where musteri_id='$Musteri_id'";
However, when I try to insert the query from the second table, it does not work:
$Query="INSERT INTO siparisler (firma,urun)
SELECT musteri_ismi from musteri_ekle where musteri_id='$Musteri_id',
urun_id from urun_ekle where urun_id='$Urun_id'";
What is the way to insert two data from different tables to a Query?