Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

PHP mysqli_stmt_init() Function

PHP mysqli_stmt_init() Function

PHP MySQLi Reference Manual PHP MySQLi Reference Manual

Initialize a statement and return the object used by mysqli_stmt_prepare():






Definition and Usage

The mysqli_stmt_init() function initializes a statement and returns the object used by mysqli_stmt_prepare().


Syntax

mysqli_stmt_init(

connection

)

;

Parameters Description
connection Required. Specifies the MySQL connection to use.

Technical Details

Return Value: Returns an object.
PHP Version: 5+

PHP MySQLi Reference Manual PHP MySQLi Reference Manual