Home > PHP > Function > Informix > ifx_fieldtypes()

ifx_fieldtypes()

ifx_fieldtypes - List of Informix SQL fields

Syntax

array ifx_fieldtypes (resource $result_id)

Arguments

  • result_id - result_id is a valid resultid returned by ifx_query() or ifx_prepare() (select type queries only!).

Description

Returns an associative array with fieldnames as key and the SQL fieldtypes as data for the query associated with result_id.

Version

PHP 4, <=5.2.0

Return value

Returns an associative array with fieldnames as key and the SQL fieldtypes as data for query with result_id. Returns FALSE on error.