PHP 手册
上一页 |  | 下一页

# mysqli_stmt_init

(PHP 5)

mysqli_stmt_init

(no version information, might be only in CVS)

mysqli->stmt_init() -- Initializes a statement and returns an object for use with mysqli_stmt_prepare

## 说明

Procedural style :

mysqli_stmt mysqli_stmt_init ( mysqli link )

Object oriented style (property):

class mysqli {
mysqli_stmt stmt_init ( void )
}

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

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

## 参数

`link`

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

## 返回值

Returns an object.

## 参见

mysqli_stmt_prepare()

上一页 | 起始页 | 下一页
mysqli_stmt_get_warnings | 上一级 | mysqli_stmt_insert_id