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

설명

Object oriented style (property):

mysqli_stmt stmt_init ( void )

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.

인수

link

순차 형식 전용: mysqli_connect()mysqli_init()가 반환한 연결 식별자.

반환값

Returns an object.

참고


MySQLi
PHP Manual