mysqli_stmt::attr_get
PHP function
Edit on GitHub ✎
(PHP 5, PHP 7, PHP 8)
Used to get the current value of a statement attribute
Description
Oop
mysqli_stmt::attr_get(int $attribute): int
Procedural
mysqli_stmt_attr_get(mysqli_stmt $statement, int $attribute): int
Gets the current value of a statement attribute.
Parameters
attributeThe attribute that you want to get.
Return Values
Returns the value of the attribute.