← All docs

mysqli_stmt_prepare()

Prepares SQL on a statement created by mysqli_stmt_init().

mysqli_stmt_prepare()

function mysqli_stmt_prepare(mixed $statement, string $query): bool

Prepares SQL on a statement created by mysqli_stmt_init().

Parameters:

  • $statement (mixed)
  • $query (string)

Returns: bool

Availability

Compiled (AOT)Magician (eval)
AvailableNot available yet

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

Internals

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