mysqli_stmt attr_get() Method
The mysqli_stmt::attr_get() / mysqli_stmt_attr_get() function is used to get the current value of a statement attribute.
Syntax
//Object-oriented style public mysqli_stmt::attr_get(attribute) //Procedural style mysqli_stmt_attr_get(statement, attribute)
Parameters
statement |
Required. For procedural style only: Specify a mysqli_stmt object returned by mysqli_stmt_init(). |
attribute |
Required. Specify the attribute that need to be get. |
Return Value
Returns the value of the attribute.
❮ MySQLi Functions Reference