PDF (US Ltr)
- 2.4Mb
PDF (A4)
- 2.4Mb
Copyright 1997-2022 the PHP Documentation Group.
mysqli_stmt::attr_get
mysqli_stmt_attr_get
Used to get the current value of a statement attribute
Description
Object-oriented style
public int mysqli_stmt::attr_get(int attribute);
Procedural style
int mysqli_stmt_attr_get(mysqli_stmt statement,
int attribute);
Gets the current value of a statement attribute.
Parameters
-
statement
Procedural style only: A
mysqli_stmt
object returned bymysqli_stmt_init
.-
attribute
The attribute that you want to get.
Return Values
Returns the value of the attribute.