Home > PHP > Function > Sybase > sybase_result()

sybase_result()

sybase_result - Get result data

Syntax

string sybase_result (resource $result, int $row, mixed $field)

Arguments

  • result
  • row
  • field - The field argument can be the field\'s offset, or the field\'s name, or the field\'s table dot field\'s name (tablename.fieldname). If the column name has been aliased (\'select foo as bar from...\'), use the alias instead of the column name.

Description

Returns the contents of the cell at the row and offset in the specified Sybase result set.

Version

PHP 4, 5

Return value

sybase_result() returns the contents of one cell from a Sybase result set.