Documentation Home
MySQL PHP API
Download this Manual
PDF (US Ltr) - 2.8Mb
PDF (A4) - 2.8Mb
EPUB - 456.4Kb
HTML Download (TGZ) - 395.8Kb
HTML Download (Zip) - 409.6Kb


MySQL PHP API  /  ...  /  mysqli::stmt_init, mysqli_stmt_init

3.9.58 mysqli::stmt_init, mysqli_stmt_init

Copyright 1997-2014 the PHP Documentation Group.

  • mysqli::stmt_init

    mysqli_stmt_init

    Initializes a statement and returns an object for use with mysqli_stmt_prepare

Description

Object oriented style

mysqli_stmt mysqli::stmt_init();

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

Return Values

Returns an object.

See Also

mysqli_stmt_prepare


User Comments
Sign Up Login You must be logged in to post a comment.