PHPsql (ทำใน Apache NetBeans)

กระทู้คำถาม
อยากทราบโค๊ดลบข้อมูลภายใน 2 ตารางอ่าครับผมทำแบบนี้แล้ว error
<meta charset="UTF-8">
<?php
        require './connect.php';
 if(isset($_GET["costomer_ID"])){
      echo "Costomer_ID";
  }
$sql = "DELETE FROM ลูกค้า.costomer_ID, ลูกค้า_เบอร์.costomer_ID WHERE ลูกค้า.costomer_ID = $_REQUEST["costomer_ID"] AND ลูกค้า_เบอร์.costomer_ID = $_REQUEST["costomer_ID"]";
$result = mysqli_query($connect, $sql) or die ("Error in query: $sql " . mysqli_error());
  if($result){
  echo "<script type='text/javascript'>";
  echo "alert('Delete Succesfuly');";
  echo "window.location = 'list.php'; ";
  echo "</script>";
  }
  else{
  echo "<script type='text/javascript'>";
  echo "alert('Error back to delete again');";
  echo "</script>";
}
?>
ข้อมูลเป็น 2 table มันมีแอททิบิ้ลแบบ มัลติเข้ามาเกี่ยวครับ
แสดงความคิดเห็น
โปรดศึกษาและยอมรับนโยบายข้อมูลส่วนบุคคลก่อนเริ่มใช้งาน อ่านเพิ่มเติมได้ที่นี่