我想在单个语句中运行多个查询如何执行此操作。
you will have to use mysqli instead of mysql.
Please refer to the following
You can run multiple queries using mysqli::multi_query()
as the mysql_
function family does not provide feature to execute multiple queries in once.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.