MYSQLI_STMT_ATTR_GET(3) 1 MYSQLI_STMT_ATTR_GET(3)
mysqli_stmt::attr_get - Used to get the current value of a statement attribute
Object oriented style
SYNOPSIS
int mysqli_stmt::attr_get (int $attr)
DESCRIPTION
Procedural style
int mysqli_stmt_attr_get (mysqli_stmt $stmt, int $attr)
Gets the current value of a statement attribute.
PARAMETERS
o $
stmt -Procedural style only: A statement identifier returned by mysqli_stmt_init(3).
o $attr
- The attribute that you want to get.
RETURN VALUES
Returns FALSE if the attribute is not found, otherwise returns the value of the attribute.
PHP Documentation Group MYSQLI_STMT_ATTR_GET(3)