mysqli_stmt_init
mysqli->stmt_init()
(PHP 5)
mysqli->stmt_init() — Initializes a statement and returns an object for use with mysqli_stmt_prepare
Descrição
Procedural style :
mysqli_stmt mysqli_stmt_init
( mysqli $link
)
Object oriented style (property):
mysqli
mysqli_stmt stmt_init
( void
)
Allocates and initializes a statement object suitable for mysqli_stmt_prepare().
Nota: Any subsequent calls to any mysqli_stmt function will fail until mysqli_stmt_prepare() was called.
Parâmetros
- link
-
Apenas para estilo de procedimento: Um identificador de conexão retornado por mysqli_connect() or mysqli_init()
Valor Retornado
Returns an object.