ibase_field_info

ibase_field_info

(PHP 3 >= 3.0.7, PHP 4, PHP 5)

ibase_field_info --  Get information about a field

Description

array ibase_field_info ( resource result, int field_number )

Returns an array with information about a field after a select query has been run. The array is in the form of name, alias, relation, length, type.

<?php
    $rs
= ibase_query("SELECT * FROM tablename");
    
$coln = ibase_num_fields($rs);
    for (
$i = 0; $i < $coln; $i++) {
        
$col_info = ibase_field_info($rs, $i);
        echo
"name: ". $col_info['name']. "\n";
        echo
"alias: ". $col_info['alias']. "\n";
        echo
"relation: ". $col_info['relation']. "\n";
        echo
"length: ". $col_info['length']. "\n";
        echo
"type: ". $col_info['type']. "\n";
    }
?>

See also: ibase_num_fields().



Links
iPowerWeb $7.95/mo
  • 50GB Diskspace
  • 750GB Bandwidth
  • CGI Perl PHP SSI SSL MySQL
  • Free Domain Name

AN Hosting $6.95/mo
  • 250GB Diskspace
  • 2500GB Bandwidth
  • Host 20 Domains
  • PHP RoR Python CGI SSI Unlimited MySQL DB
  • Free Domain for Life
  • 30 Day Money Back
  • 99% Uptime Guarantee

StartLogic $5.95/mo
  • 200GB Diskspace
  • 2000GB Bandwidth
  • Host 10 Domains
  • CGI PHP MySQL
  • eCommerce Enabled
  • 30 Day Money Back Guarantee

Hosting Companies


Partners


Quick Search
Platform

Price

Diskspace

Bandwidth


 Advance Search
 Show All Companies



Reference & Manual

If you are looking for dedicated servers, look no further. HostPulse.com is a site devoted to help web users find cheap web hosting and dedicated servers.


Free Sitemap Generator Host Login/Register | Contact Us | Terms | Add Links
Thumbnails by Thumbshots.org © 2002-2010 CheapHostDir.com