单击按钮时,一次只能执行一个查询。我想使用此代码同时执行多个查询。有任何想法吗?下面是我的代码:
DB Connect();
$sql = "DELETE t1 FROM callingroute t1
INNER JOIN callingroute t2
WHERE t1.calling_route_id < t2.calling_route_id
AND t1.outletsid = t2.outletsid
and t1.date = t2.date;";
$result = mysql_query($sql);
我要插入的查询是:
插入test
(name
,email
)值('test1','testemail')