FETCH_ASSOC
FETCH_ASSOC = PDO_FETCH_ASSOC
Modified on 2005/12/01 to support new PDO constants on PHP 5.1.X
Class PDO PostgreSQL, SQLITE and MYSQL PDO support for PHP 4.X.X or PHP 5.0.X users, compatible with PHP 5.1.0 (RC1).
DESCRIPTION [directly from http://us2.php.net/manual/en/ref.pdo.php] The PHP Data Objects (PDO) extension defines a lightweight, consistent interface for accessing databases in PHP. Each database driver that implements the PDO interface can expose database-specific features as regular extension functions. Note that you cannot perform any database functions using the PDO extension by itself; you must use a database-specific PDO driver to access a database server.
HOW TO USE To know how to use PDO driver and all its methods visit php.net wonderful documentation. http://us2.php.net/manual/en/ref.pdo.php In this class some methods are not available and actually this porting is only for MySQL, SQLITE and PostgreSQL.
LIMITS For some reasons ( time and php used version with this class ) some PDO methods are not availables and someother are not totally supported.
PDO :: UNSUPPORTED METHODS:
beginTransaction [ mysql 3 has not transaction and manage them is possible only with a direct BEGIN or COMMIT query ]
PDO :: NOT TOTALLY SUPPORTED METHODS:
getAttribute [ accepts only PDO_ATTR_SERVER_INFO, PDO_ATTR_SERVER_VERSION, PDO_ATTR_CLIENT_VERSION and PDO_ATTR_PERSISTENT attributes ]
PDOStatement :: UNSUPPORTED METHODS:
bindColumn [ is not possible to undeclare a variable and using global scope is not really a good idea ]
PDOStatement :: NOT TOTALLY SUPPORTED METHODS: