Query: ifx_fieldtypes
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
IFX_FIELDTYPES(3) 1 IFX_FIELDTYPES(3) ifx_fieldtypes - List of Informix SQL fieldsSYNOPSISarray ifx_fieldtypes (resource $result_id)DESCRIPTIONReturns an associative array with fieldnames as key and the SQL fieldtypes as data for the query associated with $result_id.PARAMETERSo $result_id -$result_id is a valid resultid returned by ifx_query(3) or ifx_prepare(3) (select type queries only!).RETURN VALUESReturns an associative array with fieldnames as key and the SQL fieldtypes as data for query with $result_id. Returns FALSE on error.EXAMPLESExample #1 Fieldnames and SQL fieldtypes <?php $types = ifx_fieldtypes($resultid); if (is_array($types)) { foreach ($types as $fname => $val) { echo "$fname: type = $val "; } } ?>SEE ALSOifx_fieldproperties(3). PHP Documentation Group IFX_FIELDTYPES(3)
Related Man Pages |
---|
mssql_next_result(3) - php |
ifx_affected_rows(3) - php |
ifx_fetch_row(3) - php |
ifx_htmltbl_result(3) - php |
ovrimos_result_all(3) - php |