_DatabaseHandler::db_fetch_array

5.x _DatabaseHandler.php _DatabaseHandler::db_fetch_array($result)
4.x _DatabaseHandler.php _DatabaseHandler::db_fetch_array($result)

File

classes/_DatabaseHandler.php, line 1828

Class

_DatabaseHandler

Code

function db_fetch_array($result) {
  if (!is_object($result)) {
    return FALSE;
  }

  return $result->fetch(PDO::FETCH_ASSOC);
}