Home > PHP > Function > Firebird/InterBase > ibase_fetch_object()

ibase_fetch_object()

ibase_fetch_object - Get an object from a InterBase database

Syntax

object ibase_fetch_object (resource $result_id, int $fetch_flag)

Arguments

  • result_id - An InterBase result identifier obtained either by ibase_query() or ibase_execute().
  • fetch_flag - fetch_flag is a combination of the constants IBASE_TEXT and IBASE_UNIXTIME ORed together. Passing IBASE_TEXT will cause this function to return BLOB contents instead of BLOB ids. Passing IBASE_UNIXTIME will cause this function to return date/time values as Unix timestamps instead of as formatted strings.

Description

Fetches a row as a pseudo-object from a given result identifier.

Version

PHP 4, 5

Return value

Returns an object with the next row information, or FALSE if there are no more rows.