★ wanayoo — archive 1999 http://www.php.net/manual/de/function.ifx-fieldtypes.phpNouvelle recherche | Portail wanayoo

PHP Home Page

Manual Table of Contents
Up to Informix
Quick Reference
English version of this pageJapanese version of this pageItalian version of this pageFrench version of this pageHungarian version of this page
Informix
* ifx_connect
* ifx_pconnect
* ifx_close
* ifx_query
* ifx_prepare
* ifx_do
* ifx_error
* ifx_errormsg
* ifx_affected_rows
* ifx_getsqlca
* ifx_fetch_row
* ifx_htmltbl_result
* ifx_fieldtypes
* ifx_fieldproperties
* ifx_num_fields
* ifx_num_rows
* ifx_free_result
* ifx_create_char
* ifx_free_char
* ifx_update_char
* ifx_get_char
* ifx_create_blob
* ifx_copy_blob
* ifx_free_blob
* ifx_get_blob
* ifx_update_blob
* ifx_blobinfile_mode
* ifx_textasvarchar
* ifx_byteasvarchar
* ifx_nullformat
* ifxus_create_slob
* ifx_free_slob
* ifxus_close_slob
* ifxus_open_slob
* ifxus_tell_slob
* ifxus_seek_slob
* ifxus_read_slob
* ifxus_write_slob
Manual: ifx_fieldtypes
View the source code for this pageSearch the site



Previous page
 ifx_htmltbl_result
 Updated
Sat, 12 Aug 2000
ifx_fieldproperties 
Next page


ifx_fieldtypes

(PHP3 >= 3.0.3, PHP4 )

ifx_fieldtypes -- List of Informix SQL fields

Description

array ifx_fieldtypes (int result_id)

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

Beispiel 1. Fielnames and SQL fieldtypes


$types = ifx_fieldtypes ($resultid);
if (! isset ($types)) {
  ... error ...
}
for ($i = 0; $i < count($types); $i++) {
    $fname = key($types);
    printf("%s :\t type =  %s\n", $fname, $types[$fname]);
    next($types);
}
     

 About Notes


Previous page
 ifx_htmltbl_result
 Updated
Sat, 12 Aug 2000
ifx_fieldproperties 
Next page





Who's responsible for this?
Top of this page

Site
Hosting:



Located in
United States
Elements of this website are subject to copyright.
Questions about installing or using PHP should be directed to one of the mailing lists.
Only questions about the website should be directed to webmaster@php.net.