どのように私は複数のテーブルから削除することができ、コードを使用しますが削除行のすべてのテーブルがここで共通の値 を持っている場合
<?php
include_once("config.php");
$order_no = $_REQUEST['id'];
$order_date = $_REQUEST['date'];
$conn->query("DELETE FROM `orders` WHERE `date`='$order_date' and `order_no`='$order_no';
DELETE FROM `customer_order` WHERE `order_date`='$order_date' and `order_no`='$order_no';
DELETE FROM `driver_order` WHERE `order_date`='$order_date' and `order_no`='$order_no';");
header('location:index.php');
?>
あなたは明らかにマルチクエリ –