PDO

pecl::PDO

AdvancedSearch | AreaMap ]

Search:

  Welcome   Installation   FAQ   User Notes   Links  
  User Notes   bindParam   DSN   exec   API differences   fetchCol   setAttribute   API  

Username:

Password:


Areas In
This Wiki

BEPHPUG

Conferences

emPHPower

LiveUser

Main

MDB2

PDO

PHPSVN

PHPTODO

RDBMS

WebBuilder2

fetch

Even the PDO documentation describes the fetch() method as follows:

"Fetches a row from a result set associated with a PDOStatement object."

For this reason in DB and MDB equivalent methods are called fetchRow(). Therefore it makes absolute sense to choose a descriptive name, especially if its just 3 additional characters.

Also defaulting to PDO_FETCH_BOTH seems overly verbose compared to the otherwise very streamlined way PDO works.

PDO:fetch (82.140.16.233)
Fri, 01 Apr 2005, 23:05
[ Links | Source | History | RSS ]

This site powered by YaWiki 0.22 beta.


No user comments exist for this page.

Add A Comment
Email:
*Comment:
Catpcha:
* denotes required field

Your comment will be added immediately; please check your comments, and be nice. :-)

Please use plain text only; HTML and PHP code will be converted to entities.

Your email address will be obfuscated with [AT] and [DOT] after you post your comment.

API differences
fetch
fetchSingle