ID_table1 , name , phone ที่เบอร์ เท่ากับ 02441144
ที่ผมทำนะคับ
$sql = "SELECT * FORM table1,table2,table3 WHERE table1.ID_table2 = table2.ID_table2 AND table1.ID_table3 = table3.ID_table3 and table2.phone=02441144 "
$sql = "SELECT * FORM table1,table2,table3 WHERE table1.ID_table2 = table2.ID_table2 AND table1.ID_table3 = table3.ID_table3 and table2.phone=02441144 "
$sql=" select * from table1, table2, table3 where table1.ID_table2=table2.ID_table2 and table1.ID_table3=table3.ID_table3 and table3.phone='$phone' ";
$result=mysql_query($sql);
$rs=mysql_fetch_array($result);