ifx_fieldtypes(3) php man page | unix.com

Man Page: ifx_fieldtypes

Operating Environment: php

Section: 3

IFX_FIELDTYPES(3)							 1							 IFX_FIELDTYPES(3)

ifx_fieldtypes - List of Informix SQL fields

SYNOPSIS
array ifx_fieldtypes (resource $result_id)
DESCRIPTION
Returns an associative array with fieldnames as key and the SQL fieldtypes as data for the query associated with $result_id.
PARAMETERS
o $result_id -$result_id is a valid resultid returned by ifx_query(3) or ifx_prepare(3) (select type queries only!).
RETURN VALUES
Returns an associative array with fieldnames as key and the SQL fieldtypes as data for query with $result_id. Returns FALSE on error.
EXAMPLES
Example #1 Fieldnames and SQL fieldtypes <?php $types = ifx_fieldtypes($resultid); if (is_array($types)) { foreach ($types as $fname => $val) { echo "$fname: type = $val "; } } ?>
SEE ALSO
ifx_fieldproperties(3). PHP Documentation Group IFX_FIELDTYPES(3)
Related Man Pages
pg_convert(3) - php
ibase_fetch_object(3) - php
ifx_affected_rows(3) - php
ifx_fieldproperties(3) - php
odbc_execute(3) - php
Similar Topics in the Unix Linux Community
Forum Video Tutorial: How to Use Code Tags
UNIX.COM 2017 Year End Summary
Please Welcome Don Cragun as Lead Moderator
Please Welcome Ravinder Singh to the Moderation Team
Please Welcome Nicki Paul to the Moderator Team!