You are here

constant DB_FETCHMODE_FLIPPED in Flickr API 5

For multi-dimensional results, make the column name the first level of the array and put the row number in the second level of the array

This is flipped from the normal behavior, which puts the row numbers in the first level of the array and the column names in the second level.

2 uses of DB_FETCHMODE_FLIPPED
DB.php in phpFlickr/PEAR/DB.php
DB_common::getAll in phpFlickr/PEAR/DB/common.php
Fetches all of the rows from a query result

File

phpFlickr/PEAR/DB.php, line 282

Code

define('DB_FETCHMODE_FLIPPED', 4);