PHP MySQLi multi_query prepared statement

前端 未结 1 929
别跟我提以往
别跟我提以往 2021-01-18 04:09

I wanted to know if it is possible to prepare multiple statements for MySQLi multi_query?

相关标签:
1条回答
  • 2021-01-18 04:50

    No.

    mysqli::multi_query takes a query string as its argument, not a prepared statement.

    mysql::prepare can only prepare a single statement:

    The query must consist of a single SQL statement.

    0 讨论(0)
提交回复
热议问题