mysqli_stmt::attr_get

mysqli_stmt_attr_get

(PHP 5, PHP 7)

mysqli_stmt::attr_get -- mysqli_stmt_attr_getUsed to get the current value of a statement attribute

˵��

���������

mysqli_stmt::attr_get ( int $attr ) : int

���̻����

mysqli_stmt_attr_get ( mysqli_stmt $stmt , int $attr ) : int

Gets the current value of a statement attribute.

����

stmt

���Թ��̻���ʽ���� mysqli_stmt_init() ���ص� statement ��ʶ��

attr

The attribute that you want to get.

����ֵ

Returns FALSE if the attribute is not found, otherwise returns the value of the attribute.