MySQLi_STMT
PHP Manual

mysqli_stmt::attr_get

mysqli_stmt_attr_get

(PHP 5)

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

Описание

Object oriented style (method):

int mysqli_stmt::attr_get ( int $attr )

Procedural style:

int mysqli_stmt_attr_get ( mysqli_stmt $stmt , int $attr )

Gets the current value of a statement attribute.

Параметри

stmt

Само за процедурния стил: Идентификатор на израза върнат от mysqli_stmt_init().

attr

The attribute that you want to get.

Връщани стойности

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


MySQLi_STMT
PHP Manual