mysqli
PHP Manual

mysqli::stmt_init

mysqli_stmt_init

(PHP 5)

mysqli::stmt_init -- mysqli_stmt_initInitializes a statement and returns an object for use with mysqli_stmt_prepare

Opis

Styl obiektowy

mysqli_stmt mysqli::stmt_init ( void )

Styl proceduralny

mysqli_stmt mysqli_stmt_init ( mysqli $link )

Allocates and initializes a statement object suitable for mysqli_stmt_prepare().

Informacja:

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

Parametry

połączenie

Tylko styl proceduralny: Identyfikator połączenia zwrócony przez mysqli_connect() lub mysqli_init()

Zwracane wartości

Returns an object.

Zobacz też:


mysqli
PHP Manual