The mysqli_stmt_init() function initializes a statement and returns an object suitable for mysqli_stmt_prepare().
mysqli_stmt mysqli::stmt_init ( void )
mysqli_stmt mysqli_stmt_init ( mysqli $link )
Allocates and initializes a statement object suitable for mysqli_stmt_prepare().
Initialize a statement and return an object to use with mysqli_stmt_prepare():
Parameter | Description |
---|---|
link | Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init() |
Returns an object.