mysqli::stmt_init
mysqli_stmt_init
(PHP 5, PHP 7, PHP 8)
mysqli::stmt_init -- mysqli_stmt_init — Initializes a statement and returns an object for use with mysqli_stmt_prepare
Description
Object-oriented style
Procedural style
Allocates and initializes a statement object suitable for mysqli_stmt_prepare().
Note:
Any subsequent calls to any mysqli_stmt function will fail until mysqli_stmt_prepare() was called.
Parameters
mysqlProcedural style only: A mysqli object returned by mysqli_connect() or mysqli_init()
Return Values
Returns an object.
See Also
- mysqli_stmt_prepare() - Prepares an SQL statement for execution
↑ and ↓ to navigate • Enter to select • Esc to close • / to open