← All docs

mysqli_multi_query()

Runs several semicolon-separated statements in one call.

mysqli_multi_query()

function mysqli_multi_query(mixed $mysql, string $query): bool

Runs several semicolon-separated statements in one call.

Parameters:

  • $mysql (mixed)
  • $query (string)

Returns: bool

Availability

  • Compiled (AOT): supported through an injected elephc-PHP prelude.
  • eval() (magician interpreter): not available inside eval’d code.

No examples yet. Check examples/ and showcases/ for usage patterns.

Internals

For how mysqli_multi_query is implemented in the compiler, see the internals page.