mysqli::stmt_init

(PHP 5, PHP 7)
Initializes a statement and returns an object for use with mysqli_stmt_prepare
mysqli_stmt mysqli::stmt_init ( void )

Object oriented style

Procedural style

mysqli_stmt mysqli_stmt_init ( mysqli $link )

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:
link

Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()

Returns:

Returns an object.

See also:

mysqli_stmt_prepare() -

doc_php
2016-02-24 16:19:08
Comments
Leave a Comment

Please login to continue.