mysqli::stmt_init

mysqli_stmt_init

Initializes a statement and returns an object for use with mysqli_stmt_prepare

&reftitle.description;

&style.oop;

public ``mysqli_stmt``false```mysqli::stmt_init`

&style.procedural;

``mysqli_stmt``false```mysqli_stmt_init` `mysqli` `mysql`

Allocates and initializes a statement object suitable for `mysqli_stmt_prepare`.

Any subsequent calls to any mysqli_stmt function will fail until `mysqli_stmt_prepare` was called.

&reftitle.parameters;

&mysqli.link.description;
&reftitle.returnvalues;

Returns an object.

&reftitle.seealso;

- `mysqli_stmt_prepare`