mysqli::stmt_init
mysqli_stmt_init
Initializes a statement and returns an object for use with mysqli_stmt_prepare
Description
Object-oriented style
public mysqli_stmtfalse mysqli::stmt_init()
mysqli_stmtfalse mysqli_stmt_init(mysqli $mysql
)
Note:
Any subsequent calls to any mysqli_stmt function
will fail until mysqli_stmt_prepare was called.
Parameters
-
mysql
-
Procedural style only: A mysqli object
returned by mysqli_connect or mysqli_init
Return Values
Returns an object.