mysqli_stmt::attr_get

(PHP 5, PHP 7)
Used to get the current value of a statement attribute
int mysqli_stmt::attr_get ( int $attr )

Object oriented style

Procedural style

int mysqli_stmt_attr_get ( mysqli_stmt $stmt , int $attr )

Gets the current value of a statement attribute.

Parameters:
stmt

Procedural style only: A statement identifier returned by mysqli_stmt_init().

attr

The attribute that you want to get.

Returns:

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

doc_php
2016-02-24 16:19:10
Comments
Leave a Comment

Please login to continue.