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.

Meet with owner

Sajjad Hossain

Hey, I am Sajjad, working in web development sector since 2012. I love to do amazing things. Let's do a project together.
Connect Social With PHPAns