downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  

<PDOStatement->fetchObjectPDOStatement->getColumnMeta>
Last updated: Thu, 26 Jun 2008

PDOStatement->getAttribute

(PHP 5 >= 5.1.0, PECL pdo:0.2-1.0.3)

PDOStatement->getAttribute — Retrieve a statement attribute

Description

mixed PDOStatement::getAttribute ( int $attribute )

Gets an attribute of the statement. Currently, no generic attributes exist but only driver specific:

  • PDO::ATTR_CURSOR_NAME (Firebird and ODBC specific): Get the name of cursor for UPDATE ... WHERE CURRENT OF.

Return Values

Returns the attribute value.



add a noteadd a note User Contributed Notes
Retrieve a statement attribute
There are no user contributed notes for this page.




<PDOStatement->fetchObjectPDOStatement->getColumnMeta>
Last updated: Thu, 26 Jun 2008
show source | credits | sitemap | contact | advertising | mirror sites
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://phpbuilder.com/
Last updated: Tue Nov 1 20:20:59 2005 EST
Columns / Articles | Tips / Quickies | News | News Linking and RSS Feeds | Shared Code Library
Mail Archives | Support / Discussion Forums | Get Started! Links | Contribute! | Docs