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

Beschreibung

Objektorientierter Stil

mysqli_stmt mysqli::stmt_init ( void )

Prozeduraler Stil

mysqli_stmt mysqli_stmt_init ( mysqli $link )

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

Hinweis:

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

Parameter-Liste

link

Nur bei prozeduralem Aufruf: Ein von mysqli_connect() oder mysqli_init() zur├╝ckgegebenes Verbindungsobjekt.

R├╝ckgabewerte

Returns an object.

Siehe auch

add a note add a note

User Contributed Notes 1 note

up
0
mamdo7 at hotmail dot com
5 months ago
you can use $stmt = $mysqli->prepare(); directly without stmt-init() . i think there is no need for stmt-init .
To Top