PHP MySQLi multi_query prepared statement

  • Added:
  • |
  • In: Basic PHP

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

This Question Has 1 Answeres | Orginal Question | ATLChris


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.

I am...

Sajjad Hossain

I have five years of experience in web development sector. I love to do amazing projects and share my knowledge with all.
Connect Social With PHPAns