PEAR::DB replacement class

Contents

The setFetchmode() method

This sets the default fetchmode for queries, be it numeric/ordered or associative. The predefined constants that represent the different handling methods are:

Fetch mode Effect
DB_FETCHMODE_DEFAULT The default fetchmode. This is the same as DB_FETCHMODE_ORDERED
DB_FETCHMODE_ORDERED Arrays returned will bw indexed numerically (ie. mysql_fetch_row())
DB_FETCHMODE_NUMERIC This is a synonym for the above
DB_FETCHMODE_ASSOC Arrays returned will bw indexed associatively (ie. mysql_fetch_assoc())